aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorSteve Capper <[email protected]>2013-04-30 11:00:33 +0100
committerSteve Capper <[email protected]>2013-06-14 09:40:39 +0100
commitf6bc87c39d52b2b7aa83f16fcee46daefd26cd4d (patch)
tree6422636e05c815de49a5328860ce3f6a060d11cd /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentdfa5e237e935bc6712c9ac2f52a5469a0df85bcf (diff)
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 <[email protected]> Acked-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions