diff options
author | 2019-02-25 13:41:45 -0800 | |
---|---|---|
committer | 2019-03-13 12:25:31 -0700 | |
commit | 382b88e961c7a4196e01cef3249297583d02d608 (patch) | |
tree | 0d1dc78b084265547ec2531b42c6cb3a59a8340e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | percpu: set PCPU_BITMAP_BLOCK_SIZE to PAGE_SIZE (diff) | |
download | wireguard-linux-382b88e961c7a4196e01cef3249297583d02d608.tar.xz wireguard-linux-382b88e961c7a4196e01cef3249297583d02d608.zip |
percpu: add block level scan_hint
Fragmentation can cause both blocks and chunks to have an early
first_firee bit available, but only able to satisfy allocations much
later on. This patch introduces a scan_hint to help mitigate some
unnecessary scanning.
The scan_hint remembers the largest area prior to the contig_hint. If
the contig_hint == scan_hint, then scan_hint_start > contig_hint_start.
This is necessary for scan_hint discovery when refreshing a block.
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions