diff options
author | Dennis Zhou <dennis@kernel.org> | 2019-02-26 21:46:48 +0300 |
---|---|---|
committer | Dennis Zhou <dennis@kernel.org> | 2019-03-13 22:25:31 +0300 |
commit | d33d9f3dd96ba290bad3929f82990a0a7467ae90 (patch) | |
tree | 2f3e352dfab6d4049af8070168029bc3787b389a /net/lapb/lapb_timer.c | |
parent | 92c14cab43267411bc9160f23d55a7548d814483 (diff) | |
download | linux-d33d9f3dd96ba290bad3929f82990a0a7467ae90.tar.xz |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions