Star64_linux/arch/x86/mm
Peter Zijlstra 6be3828a8a 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-20 16:01:29 +08:00
..
pat x86: Fix return value of __setup handlers 2023-04-19 17:49:39 +08:00
amdtopology.c
cpu_entry_area.c x86/sev: Make the #VC exception stacks part of the default stacks storage 2023-04-19 16:57:58 +08:00
debug_pagetables.c
dump_pagetables.c
extable.c x86/extable: Fix ex_handler_msr() print condition 2023-04-19 17:52:15 +08:00
fault.c x86/mm/64: Improve stack overflow warnings 2023-04-19 16:57:07 +08:00
highmem_32.c x86/mm/highmem: Use generic kmap atomic implementation 2020-11-06 23:14:55 +01:00
hugetlbpage.c
ident_map.c x86/mm/ident_map: Check for errors from ident_pud_init() 2020-10-28 14:48:30 +01:00
init.c x86/mm: Use mm_alloc() in poking_init() 2023-08-20 16:01:29 +08:00
init_32.c mm/memory_hotplug: remove nid parameter from arch_remove_memory() 2021-09-08 11:50:23 -07:00
init_64.c x86/mm: Use proper mask when setting PUD mapping 2023-04-19 17:52:58 +08:00
iomap_32.c io-mapping: Cleanup atomic iomap 2020-11-06 23:14:58 +01:00
ioremap.c x86/ioremap: Fix page aligned size calculation in __ioremap_caller() 2023-04-19 17:56:42 +08:00
kasan_init_64.c memblock: introduce saner 'memblock_free_ptr()' interface 2021-09-14 13:23:22 -07:00
kaslr.c x86/mm: Avoid using set_pgd() outside of real PGD pages 2023-08-20 15:24:00 +08:00
kmmio.c x86: Fix various typos in comments 2021-03-18 15:31:53 +01:00
maccess.c
Makefile
mem_encrypt.c x86/sev: Add an x86 version of cc_platform_has() 2023-04-19 16:57:58 +08:00
mem_encrypt_boot.S objtool: Update Retpoline validation 2023-04-19 17:51:32 +08:00
mem_encrypt_identity.c x86/mm: Fix use of uninitialized buffer in sme_enable() 2023-04-19 18:00:56 +08:00
mm_internal.h
mmap.c
mmio-mod.c x86/mmiotrace: Replace deprecated CPU-hotplug functions. 2021-08-10 14:46:27 +02:00
numa.c x86/numa: Use cpumask_available instead of hardcoded NULL check 2023-04-19 17:52:48 +08:00
numa_32.c
numa_64.c
numa_emulation.c memblock: introduce saner 'memblock_free_ptr()' interface 2021-09-14 13:23:22 -07:00
numa_internal.h
pf_in.c
pf_in.h
pgtable.c Revert "mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge" 2021-07-21 11:28:09 +01:00
pgtable_32.c
physaddr.c
physaddr.h
pkeys.c Fixes and improvements for FPU handling on x86: 2021-07-07 11:12:01 -07:00
pti.c x86/process/64: Move cpu_current_top_of_stack out of TSS 2021-03-28 22:40:10 +02:00
setup_nx.c
srat.c
testmmiotrace.c
tlb.c x86/mm/tlb: Revert retpoline avoidance approach 2023-04-19 17:47:50 +08:00