aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2020-01-31 13:45:39 +0100
committerGeert Uytterhoeven <[email protected]>2020-02-10 10:57:48 +0100
commit0e071ee6815692a3b241bbe9a9a29f7cdec023ed (patch)
treefa516f2a287d2f5315a98ebeeb472d46dc6f9ddc /scripts/patch-kernel
parent61c64a25ae8df45c2cd2f76343e20c3d266382ea (diff)
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) <[email protected]> Acked-by: Will Deacon <[email protected]> Acked-by: Greg Ungerer <[email protected]> Tested-by: Michael Schmitz <[email protected]> Tested-by: Greg Ungerer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions