diff options
author | Dennis Zhou | 2019-02-26 19:46:48 +0100 |
---|---|---|
committer | Dennis Zhou | 2019-03-13 20:25:31 +0100 |
commit | d33d9f3dd96ba290bad3929f82990a0a7467ae90 (patch) | |
tree | 2f3e352dfab6d4049af8070168029bc3787b389a /init | |
parent | percpu: convert chunk hints to be based on pcpu_block_md (diff) | |
download | kernel-qcow2-linux-d33d9f3dd96ba290bad3929f82990a0a7467ae90.tar.gz kernel-qcow2-linux-d33d9f3dd96ba290bad3929f82990a0a7467ae90.tar.xz kernel-qcow2-linux-d33d9f3dd96ba290bad3929f82990a0a7467ae90.zip |
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 'init')
0 files changed, 0 insertions, 0 deletions