diff options
author | 2023-03-21 19:05:08 +0200 | |
---|---|---|
committer | 2023-04-05 19:42:54 -0700 | |
commit | f2fc4b44ec2bb94c51c7ae1af9b1177d72705992 (patch) | |
tree | a83ba868392eb11ef980295f813541be4ff63d59 /mm/memtest.c | |
parent | mm: call {ptlock,pgtable}_cache_init() directly from mm_core_init() (diff) | |
download | wireguard-linux-f2fc4b44ec2bb94c51c7ae1af9b1177d72705992.tar.xz wireguard-linux-f2fc4b44ec2bb94c51c7ae1af9b1177d72705992.zip |
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/20230321170513.2401534-10-rppt@kernel.org
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Acked-by: David Hildenbrand <david@redhat.com>
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>
Diffstat (limited to 'mm/memtest.c')
0 files changed, 0 insertions, 0 deletions