linux-stable/arch
Mike Rapoport (IBM) 12b9ac6d43 mips: fix comment about pgtable_init()
Patch series "mm: move core MM initialization to mm/mm_init.c", v2.

This set moves most of the core MM initialization to mm/mm_init.c.

This largely includes free_area_init() and its helpers, functions used at
boot time, mm_init() from init/main.c and some of the functions it calls.

Aside from gaining some more space before mm/page_alloc.c hits 10k lines,
this makes mm/page_alloc.c to be mostly about buddy allocator and moves
the init code out of the way, which IMO improves maintainability.

Besides, this allows to move a couple of declarations out of include/linux
and make them private to mm/.

And as an added bonus there a slight decrease in vmlinux size.  For
tinyconfig and defconfig on x86 I've got

tinyconfig:
   text	   data	    bss	    dec	    hex	filename
 853206	 289376	1200128	2342710	 23bf36	a/vmlinux
 853198	 289344	1200128	2342670	 23bf0e	b/vmlinux

defconfig:
    text   	   data	    bss	    dec	    	    hex	filename
26152959	9730634	2170884	38054477	244aa4d	a/vmlinux
26152945	9730602	2170884	38054431	244aa1f	b/vmlinux


This patch (of 14):

Comment about fixrange_init() says that its called from pgtable_init()
while the actual caller is pagetabe_init().

Update comment to match the code.

Link: https://lkml.kernel.org/r/20230321170513.2401534-1-rppt@kernel.org
Link: https://lkml.kernel.org/r/20230321170513.2401534-2-rppt@kernel.org
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Philippe Mathieu-Daud <philmd@linaro.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Doug Berger <opendmb@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-04-05 19:42:52 -07:00
..
alpha alpha: fix lazy-FPU mis(merged/applied/whatnot) 2023-03-06 20:13:49 -05:00
arc mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
arm mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
arm64 mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
csky mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
hexagon VM_FAULT_RETRY fixes 2023-03-05 11:07:58 -08:00
ia64 mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
loongarch loongarch: drop ranges for definition of ARCH_FORCE_MAX_ORDER 2023-04-05 19:42:47 -07:00
m68k mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
microblaze VM_FAULT_RETRY fixes 2023-03-05 11:07:58 -08:00
mips mips: fix comment about pgtable_init() 2023-04-05 19:42:52 -07:00
nios2 mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
openrisc VM_FAULT_RETRY fixes 2023-03-05 11:07:58 -08:00
parisc VM_FAULT_RETRY fixes 2023-03-05 11:07:58 -08:00
powerpc mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
riscv RISC-V Fixes for 6.3-rc4 2023-03-24 09:52:26 -07:00
s390 mm: add PTE pointer parameter to flush_tlb_fix_spurious_fault() 2023-03-28 16:20:12 -07:00
sh mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
sparc mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
um mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
x86 mm: add PTE pointer parameter to flush_tlb_fix_spurious_fault() 2023-03-28 16:20:12 -07:00
xtensa mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
.gitignore
Kconfig lazy tlb: shoot lazies, non-refcounting lazy tlb mm reference handling scheme 2023-03-28 16:20:08 -07:00