Re: [PATCH v4 0/4] mm/sparse: Optimize memmap allocation during sparse_init()

2018-06-07 Thread Andrew Morton
On Mon, 21 May 2018 18:15:51 +0800 Baoquan He wrote: > This is v4 post. V3 can be found here: > https://lkml.org/lkml/2018/2/27/928 > > V1 can be found here: > https://www.spinics.net/lists/linux-mm/msg144486.html > > In sparse_init(), two temporary pointer arrays, usemap_map and map_map > are

Re: [PATCH v4 0/4] mm/sparse: Optimize memmap allocation during sparse_init()

2018-06-07 Thread Andrew Morton
On Mon, 21 May 2018 18:15:51 +0800 Baoquan He wrote: > This is v4 post. V3 can be found here: > https://lkml.org/lkml/2018/2/27/928 > > V1 can be found here: > https://www.spinics.net/lists/linux-mm/msg144486.html > > In sparse_init(), two temporary pointer arrays, usemap_map and map_map > are

[PATCH v4 0/4] mm/sparse: Optimize memmap allocation during sparse_init()

2018-05-21 Thread Baoquan He
This is v4 post. V3 can be found here: https://lkml.org/lkml/2018/2/27/928 V1 can be found here: https://www.spinics.net/lists/linux-mm/msg144486.html In sparse_init(), two temporary pointer arrays, usemap_map and map_map are allocated with the size of NR_MEM_SECTIONS. They are used to store

[PATCH v4 0/4] mm/sparse: Optimize memmap allocation during sparse_init()

2018-05-21 Thread Baoquan He
This is v4 post. V3 can be found here: https://lkml.org/lkml/2018/2/27/928 V1 can be found here: https://www.spinics.net/lists/linux-mm/msg144486.html In sparse_init(), two temporary pointer arrays, usemap_map and map_map are allocated with the size of NR_MEM_SECTIONS. They are used to store