]> Git Repo - linux.git/commit
mm: move most of core MM initialization to mm/mm_init.c
authorMike Rapoport (IBM) <[email protected]>
Tue, 21 Mar 2023 17:05:02 +0000 (19:05 +0200)
committerAndrew Morton <[email protected]>
Thu, 6 Apr 2023 02:42:52 +0000 (19:42 -0700)
commit9420f89db2dd611c5b436a13e13f74d65ecc3a6a
tree24e422e70d23f66e620c21478ec784747581f50a
parentfce0b4213edb960859dcc65ea414c8efb11948e1
mm: move most of core MM initialization to mm/mm_init.c

The bulk of memory management initialization code is spread all over
mm/page_alloc.c and makes navigating through page allocator functionality
difficult.

Move most of the functions marked __init and __meminit to mm/mm_init.c to
make it better localized and allow some more spare room before
mm/page_alloc.c reaches 10k lines.

No functional changes.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport (IBM) <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Doug Berger <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
include/linux/gfp.h
mm/cma.c
mm/internal.h
mm/mm_init.c
mm/page_alloc.c
This page took 0.065926 seconds and 4 git commands to generate.