android_kernel_xiaomi_sm8350/arch/x86/mm
Thomas Gleixner 76ebd0548d x86: introduce page pool in cpa
DEBUG_PAGEALLOC was not possible on 64-bit due to its early-bootup
hardcoded reliance on PSE pages, and the unrobustness of the runtime
splitup of large pages. The splitup ended in recursive calls to
alloc_pages() when a page for a pte split was requested.

Avoid the recursion with a preallocated page pool, which is used to
split up large mappings and gets refilled in the return path of
kernel_map_pages after the split has been done. The size of the page
pool is adjusted to the available memory.

This part just implements the page pool and the initialization w/o
using it yet.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-02-09 23:24:09 +01:00
..
discontig_32.c Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
extable.c x86: unify extable_{32|64}.c 2008-01-30 13:31:41 +01:00
fault.c x86: fix deadlock, make pgd_lock irq-safe 2008-02-06 22:39:45 +01:00
highmem_32.c x86: kmap_atomic() debugging 2008-01-30 13:30:47 +01:00
hugetlbpage.c x86: demacro asm-x86/pgalloc_32.h 2008-01-30 13:33:39 +01:00
init_32.c x86: introduce page pool in cpa 2008-02-09 23:24:09 +01:00
init_64.c x86: introduce page pool in cpa 2008-02-09 23:24:09 +01:00
ioremap.c x86: fix early_ioremap pagetable ops 2008-02-09 23:24:09 +01:00
k8topology_64.c x86: add PCI IDs to k8topology_64.c 2008-01-30 13:34:12 +01:00
Makefile
Makefile_32 x86: unify fault_32|64.c 2008-01-30 13:34:11 +01:00
Makefile_64 x86: unify fault_32|64.c 2008-01-30 13:34:11 +01:00
mmap.c x86: unify mmap_{32|64}.c 2008-01-30 13:31:10 +01:00
numa_64.c Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
pageattr-test.c x86: delay CPA self-test and repeat it 2008-02-06 22:39:45 +01:00
pageattr.c x86: introduce page pool in cpa 2008-02-09 23:24:09 +01:00
pgtable_32.c CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
srat_64.c Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00