Re: Why does “page allocation failure” occur whereas there are still “58*4096kB (C)” could be used?

2020-06-20 Thread Valdis Klētnieks
> How can I know whether scatter/gather is available or not? > In another word, when it's available and when it's not? > I do not intend to ask the behavior of gadget driver. > I just wonder how I can confirm it in general. The following applies for device features in general, not just

Re: Why does “page allocation failure” occur whereas there are still “58*4096kB (C)” could be used?

2020-06-19 Thread 孙世龙 sunshilong
>> Why doesn't the kernel use two memory blocks whose size is 2048KB(i.e.*oder 9 *) >> instead of one block *order 10 *(you see, there are still three free blocks and >> 2048KB*2=4096KB equivalent to the memory size of order 10)? > >Most parts of the kernel, when asking for very high-order

Re: Why does “page allocation failure” occur whereas there are still “58*4096kB (C)” could be used?

2020-06-19 Thread Valdis Klētnieks
On Fri, 19 Jun 2020 14:56:20 +0800, 孙世龙 sunshilong said: > Why doesn't the kernel use two memory blocks whose size is 2048KB(i.e.*oder 9 > *) > instead of one block *order 10 *(you see, there are still three free blocks > and > 2048KB*2=4096KB equivalent to the memory size of order 10)?

Re: Why does “page allocation failure” occur whereas there are still “58*4096kB (C)” could be used?

2020-06-19 Thread 孙世龙 sunshilong
>> Why does "page allocation failure" occur whereas there are still "58*4096kB >> (C)"(*I think it indicates there are 58 order 10 memory could be used*) >> could be used? >> >> Here is the related log: >> >> [ 2161.623563] : page allocation failure: order:10, >>

Re: Why does “page allocation failure” occur whereas there are still “58*4096kB (C)” could be used?

2020-06-18 Thread Valdis Klētnieks
On Thu, 18 Jun 2020 14:21:05 +0800, 孙世龙 said: > Why does "page allocation failure" occur whereas there are still "58*4096kB > (C)"(*I think it indicates there are 58 order 10 memory could be used*) > could be used? > > Here is the related log: > > [ 2161.623563] : page allocation

Why does “page allocation failure” occur whereas there are still “58*4096kB (C)” could be used?

2020-06-18 Thread 孙世龙
Hi, Why does "page allocation failure" occur whereas there are still "58*4096kB (C)"(*I think it indicates there are 58 order 10 memory could be used*) could be used? Here is the related log: [ 2161.623563] : page allocation failure: order:10, mode:0x2084020(GFP_ATOMIC|__GFP_COMP) [