Re: [PATCH v8 10/16] mm/memblock: add a new function memblock_alloc_near_nid

2016-10-11 Thread Leizhen (ThunderTown)
On 2016/10/11 18:16, Will Deacon wrote: > On Tue, Oct 11, 2016 at 09:44:20AM +0800, Leizhen (ThunderTown) wrote: >> On 2016/9/1 14:55, Zhen Lei wrote: >>> If HAVE_MEMORYLESS_NODES is selected, and some memoryless numa nodes are >>> actually exist. The percpu variable areas and numa control blocks

Re: [PATCH v8 10/16] mm/memblock: add a new function memblock_alloc_near_nid

2016-10-11 Thread Will Deacon
On Tue, Oct 11, 2016 at 09:44:20AM +0800, Leizhen (ThunderTown) wrote: > On 2016/9/1 14:55, Zhen Lei wrote: > > If HAVE_MEMORYLESS_NODES is selected, and some memoryless numa nodes are > > actually exist. The percpu variable areas and numa control blocks of that > > memoryless numa nodes must be al

Re: [PATCH v8 10/16] mm/memblock: add a new function memblock_alloc_near_nid

2016-10-10 Thread Leizhen (ThunderTown)
On 2016/9/1 14:55, Zhen Lei wrote: > If HAVE_MEMORYLESS_NODES is selected, and some memoryless numa nodes are > actually exist. The percpu variable areas and numa control blocks of that > memoryless numa nodes must be allocated from the nearest available node > to improve performance. > > Signed

Re: [PATCH v8 10/16] mm/memblock: add a new function memblock_alloc_near_nid

2016-09-08 Thread Leizhen (ThunderTown)
Hi, linux-mm folks: Can somebody help me to review this patch? I ran scripts/get_maintainer.pl -f mm/memblock.c and scripts/get_maintainer.pl -f mm/, but the results showed me that there is no maintainer. To understand this patch should also read patch 11. On 2016/9/1 14:55, Zhen Lei

[PATCH v8 10/16] mm/memblock: add a new function memblock_alloc_near_nid

2016-09-01 Thread Zhen Lei
If HAVE_MEMORYLESS_NODES is selected, and some memoryless numa nodes are actually exist. The percpu variable areas and numa control blocks of that memoryless numa nodes must be allocated from the nearest available node to improve performance. Signed-off-by: Zhen Lei --- include/linux/memblock.h