]> Git Repo - linux.git/commit
mm: move init_mem_debugging_and_hardening() to mm/mm_init.c
authorMike Rapoport (IBM) <[email protected]>
Tue, 21 Mar 2023 17:05:08 +0000 (19:05 +0200)
committerAndrew Morton <[email protected]>
Thu, 6 Apr 2023 02:42:54 +0000 (19:42 -0700)
commitf2fc4b44ec2bb94c51c7ae1af9b1177d72705992
treea83ba868392eb11ef980295f813541be4ff63d59
parent4cd1e9edf60efb20fad35cf5e9ade7ad75b34cd1
mm: move init_mem_debugging_and_hardening() to mm/mm_init.c

init_mem_debugging_and_hardening() is only called from mm_core_init().

Move it close to the caller, make it static and rename it to
mem_debugging_and_hardening_init() for consistency with surrounding
convention.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport (IBM) <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Reviewed-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/mm.h
mm/internal.h
mm/mm_init.c
mm/page_alloc.c
This page took 0.059816 seconds and 4 git commands to generate.