original_kernel/arch/arm64/mm
Steve Capper f6bc87c39d ARM64: mm: Restore memblock limit when map_mem finished.
In paging_init the memblock limit is set to restrict any addresses
returned by early_alloc to fit within the initial direct kernel
mapping in swapper_pg_dir. This allows map_mem to allocate puds,
pmds and ptes from the initial direct kernel mapping.

The limit stays low after paging_init() though, meaning any
bootmem allocations will be from a restricted subset of memory.
Gigabyte huge pages, for instance, are normally allocated from
bootmem as their order (18) is too large for the default buddy
allocator (MAX_ORDER = 11).

This patch restores the memblock limit when map_mem has finished,
allowing gigabyte huge pages (and other objects) to be allocated
from all of bootmem.

Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
2013-06-14 09:40:39 +01:00
..
Makefile arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
cache.S arm64: mm: Fix operands of clz in __flush_dcache_all 2013-05-14 15:44:50 +01:00
context.c
copypage.c
dma-mapping.c
extable.c
fault.c arm64: Do not report user faults for handled signals 2013-05-24 17:31:04 +01:00
flush.c
init.c mm/ARM: use common help functions to free reserved pages 2013-04-29 15:54:29 -07:00
ioremap.c
mm.h
mmap.c
mmu.c ARM64: mm: Restore memblock limit when map_mem finished. 2013-06-14 09:40:39 +01:00
pgd.c
proc-macros.S
proc.S arm64: debug: clear mdscr_el1 instead of taking the OS lock 2013-05-13 11:44:56 +01:00
tlb.S