diff options
author | Dennis Zhou <dennis@kernel.org> | 2019-02-26 10:46:48 -0800 |
---|---|---|
committer | Dennis Zhou <dennis@kernel.org> | 2019-03-13 12:25:31 -0700 |
commit | d33d9f3dd96ba290bad3929f82990a0a7467ae90 (patch) | |
tree | 2f3e352dfab6d4049af8070168029bc3787b389a /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 92c14cab43267411bc9160f23d55a7548d814483 (diff) |
percpu: use chunk scan_hint to skip some scanning
Just like blocks, chunks now maintain a scan_hint. This can be used to
skip some scanning by promoting the scan_hint to be the contig_hint.
The chunk's scan_hint is primarily updated on the backside and relies on
full scanning when a block becomes free or the free region spans across
blocks.
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions