commit | d33d9f3dd96ba290bad3929f82990a0a7467ae90 | [log] [tgz] |
---|---|---|
author | Dennis Zhou <dennis@kernel.org> | Tue Feb 26 10:46:48 2019 -0800 |
committer | Dennis Zhou <dennis@kernel.org> | Wed Mar 13 12:25:31 2019 -0700 |
tree | 2f3e352dfab6d4049af8070168029bc3787b389a | |
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>