diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-01-31 13:45:39 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2020-02-10 10:57:48 +0100 |
commit | 0e071ee6815692a3b241bbe9a9a29f7cdec023ed (patch) | |
tree | fa516f2a287d2f5315a98ebeeb472d46dc6f9ddc /arch/m68k/hp300 | |
parent | 61c64a25ae8df45c2cd2f76343e20c3d266382ea (diff) | |
download | linux-0e071ee6815692a3b241bbe9a9a29f7cdec023ed.tar.bz2 |
m68k: mm: Extend table allocator for multiple sizes
In addition to the PGD/PMD table size (128*4) add a PTE table size
(64*4) to the table allocator. This completely removes the pte-table
overhead compared to the old code, even for dense tables.
Notes:
- the allocator gained a list_empty() check to deal with there not
being any pages at all.
- the free mask is extended to cover more than the 8 bits required
for the (512 byte) PGD/PMD tables.
- NR_PAGETABLE accounting is restored.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Tested-by: Greg Ungerer <gerg@linux-m68k.org>
Link: https://lore.kernel.org/r/20200131125403.882175409@infradead.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/hp300')
0 files changed, 0 insertions, 0 deletions