diff options
| author | Mike Rapoport <[email protected]> | 2018-09-10 12:23:18 +0300 |
|---|---|---|
| committer | Paul Burton <[email protected]> | 2018-09-14 12:37:28 -0700 |
| commit | bcec54bf3118a26422cd83675cb461ef4dea81ef (patch) | |
| tree | 8cd7e85d79392d0c3379086e2ab6ace7fd839a54 /tools/perf/scripts/python | |
| parent | 0eb1cfffd5433d8dce3e4163a5cd9accc6000856 (diff) | |
mips: switch to NO_BOOTMEM
MIPS already has memblock support and all the memory is already registered
with it.
This patch replaces bootmem memory reservations with memblock ones and
removes the bootmem initialization.
Since memblock allocates memory in top-down mode, we ensure that memblock
limit is max_low_pfn to prevent allocations from the high memory.
To have the exceptions base in the lower 512M of the physical memory, its
allocation in arch/mips/kernel/traps.c::traps_init() is using bottom-up
mode.
Signed-off-by: Mike Rapoport <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/20560/
Cc: Serge Semin <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Huacai Chen <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions