WSL2-Linux-Kernel/arch/x86/mm
Peter Zijlstra 8e4c253087 x86/mm: Use mm_alloc() in poking_init()
commit 3f4c8211d9 upstream.

Instead of duplicating init_mm, allocate a fresh mm. The advantage is
that mm_alloc() has much simpler dependencies. Additionally it makes
more conceptual sense, init_mm has no (and must not have) user state
to duplicate.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20221025201057.816175235@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-08 19:58:33 +02:00
..
pat
Makefile
amdtopology.c
cpu_entry_area.c
debug_pagetables.c
dump_pagetables.c
extable.c x86/extable: Fix ex_handler_msr() print condition 2022-08-17 14:23:14 +02:00
fault.c
highmem_32.c
hugetlbpage.c
ident_map.c
init.c x86/mm: Use mm_alloc() in poking_init() 2023-08-08 19:58:33 +02:00
init_32.c
init_64.c x86/mm: Use proper mask when setting PUD mapping 2022-08-25 11:39:53 +02:00
iomap_32.c
ioremap.c x86/ioremap: Fix page aligned size calculation in __ioremap_caller() 2022-12-02 17:41:09 +01:00
kasan_init_64.c
kaslr.c x86/mm: Avoid using set_pgd() outside of real PGD pages 2023-06-28 10:29:45 +02:00
kmmio.c
maccess.c
mem_encrypt.c
mem_encrypt_boot.S
mem_encrypt_identity.c x86/mm: Fix use of uninitialized buffer in sme_enable() 2023-03-22 13:31:36 +01:00
mm_internal.h
mmap.c
mmio-mod.c
numa.c x86/numa: Use cpumask_available instead of hardcoded NULL check 2022-08-17 14:24:15 +02:00
numa_32.c
numa_64.c
numa_emulation.c
numa_internal.h
pf_in.c
pf_in.h
pgtable.c
pgtable_32.c
physaddr.c
physaddr.h
pkeys.c
pti.c
setup_nx.c
srat.c
testmmiotrace.c
tlb.c