diff options
author | 2020-01-31 13:45:39 +0100 | |
---|---|---|
committer | 2020-02-10 10:57:48 +0100 | |
commit | 0e071ee6815692a3b241bbe9a9a29f7cdec023ed (patch) | |
tree | fa516f2a287d2f5315a98ebeeb472d46dc6f9ddc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | m68k: mm: Use table allocator for pgtables (diff) | |
download | wireguard-linux-0e071ee6815692a3b241bbe9a9a29f7cdec023ed.tar.xz wireguard-linux-0e071ee6815692a3b241bbe9a9a29f7cdec023ed.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions