Re: [RFC][PATCH] mm: merge as soon as possible when pcp alloc/free

2016-11-08 Thread Mel Gorman
On Mon, Nov 07, 2016 at 03:45:32PM -0800, Andrew Morton wrote: > On Sat, 5 Nov 2016 15:57:55 +0800 Xishi Qiu wrote: > > > Usually the memory of android phones is very small, so after a long > > running, the fragment is very large. Kernel stack which called by > > alloc_thread_stack_node() usually

Re: [RFC][PATCH] mm: merge as soon as possible when pcp alloc/free

2016-11-07 Thread Andrew Morton
On Sat, 5 Nov 2016 15:57:55 +0800 Xishi Qiu wrote: > Usually the memory of android phones is very small, so after a long > running, the fragment is very large. Kernel stack which called by > alloc_thread_stack_node() usually alloc 16K memory, and it failed > frequently. > > However we have CONFI

Re: [RFC][PATCH] mm: merge as soon as possible when pcp alloc/free

2016-11-06 Thread Anshuman Khandual
On 11/07/2016 07:18 AM, Xishi Qiu wrote: > On 2016/11/5 20:29, Anshuman Khandual wrote: > >> On 11/05/2016 01:27 PM, Xishi Qiu wrote: >>> Usually the memory of android phones is very small, so after a long >>> running, the fragment is very large. Kernel stack which called by >>> alloc_thread_stack

Re: [RFC][PATCH] mm: merge as soon as possible when pcp alloc/free

2016-11-06 Thread Xishi Qiu
On 2016/11/5 20:29, Anshuman Khandual wrote: > On 11/05/2016 01:27 PM, Xishi Qiu wrote: >> Usually the memory of android phones is very small, so after a long >> running, the fragment is very large. Kernel stack which called by >> alloc_thread_stack_node() usually alloc 16K memory, and it failed >

Re: [RFC][PATCH] mm: merge as soon as possible when pcp alloc/free

2016-11-05 Thread Anshuman Khandual
On 11/05/2016 01:27 PM, Xishi Qiu wrote: > Usually the memory of android phones is very small, so after a long > running, the fragment is very large. Kernel stack which called by > alloc_thread_stack_node() usually alloc 16K memory, and it failed > frequently. > > However we have CONFIG_VMAP_STACK

[RFC][PATCH] mm: merge as soon as possible when pcp alloc/free

2016-11-05 Thread Xishi Qiu
Usually the memory of android phones is very small, so after a long running, the fragment is very large. Kernel stack which called by alloc_thread_stack_node() usually alloc 16K memory, and it failed frequently. However we have CONFIG_VMAP_STACK now, but it do not support arm64, and maybe it has s