[PATCH v2 0/2] mm: unify the allocation of pglist_data instances

2021-05-18 Thread Miles Chen
.00] setup_arch+0x184/0x1f0 [0.00] start_kernel+0x78/0x488 [0.00] ---[ end trace f68728a0d3053b60 ]--- [1] https://lore.kernel.org/patchwork/patch/1425110/ Change since v1: - use memblock_alloc() to create pglist_data when CONFIG_NUMA=n Miles Chen (2): mm: introduce pr

[PATCH v2 2/2] mm: replace contig_page_data with node_data

2021-05-18 Thread Miles Chen
Replace contig_page_data with node_data. Change the definition of NODE_DATA(nid) from (_page_data) to (node_data[0]). Remove contig_page_data from the tree. Cc: Mike Rapoport Cc: Baoquan He Cc: Kazu Signed-off-by: Miles Chen --- Documentation/admin-guide/kdump/vmcoreinfo.rst | 13

[PATCH v2 1/2] mm: introduce prepare_node_data

2021-05-18 Thread Miles Chen
. prepare_node_data() is called in sparer_init() and free_area_init(). This is the first step to replace contig_page_data with allocated pglist_data. Cc: Mike Rapoport Cc: Baoquan He Cc: Kazu Signed-off-by: Miles Chen --- include/linux/mm.h | 2 ++ include/linux/mmzone.h | 1 + mm/memblock.c

Re: [PATCH v2 0/2] mm: unify the allocation of pglist_data instances

2021-05-18 Thread Miles Chen
On Tue, 2021-05-18 at 19:09 +0300, Mike Rapoport wrote: > Hello Miles, > > On Tue, May 18, 2021 at 05:24:44PM +0800, Miles Chen wrote: > > This patches is created to fix the __pa() warning messages when > > CONFIG_DEBUG_VIRTUAL=y by unifying the allocation of pgli

Re: [PATCH v2 0/2] mm: unify the allocation of pglist_data instances

2021-05-18 Thread Miles Chen
On Wed, 2021-05-19 at 06:48 +0300, Mike Rapoport wrote: > On Wed, May 19, 2021 at 08:12:06AM +0800, Miles Chen wrote: > > On Tue, 2021-05-18 at 19:09 +0300, Mike Rapoport wrote: > > > Hello Miles, > > > > > > On Tue, May 18, 2021 at 05:24:44PM +0800, Mi