commit | da3afdd5bb5428fd38b4b64f2d5e897c3bb78354 | [log] [tgz] |
---|---|---|
author | Dennis Zhou <dennis@kernel.org> | Mon Feb 25 14:10:15 2019 -0800 |
committer | Dennis Zhou <dennis@kernel.org> | Wed Mar 13 12:25:31 2019 -0700 |
tree | 561003eb63655cdbb8f8bae8912b46a8f0f5e93b | |
parent | b89462a9c5f4a3ac5160e7b3599bb09c94b94880 [diff] |
percpu: use block scan_hint to only scan forward Blocks now remember the latest scan_hint. This can be used on the allocation path as when a contig_hint is broken, we can promote the scan_hint to the contig_hint and scan forward from there. This works because pcpu_block_refresh_hint() is only called on the allocation path while block free regions are updated manually in pcpu_block_update_hint_free(). Signed-off-by: Dennis Zhou <dennis@kernel.org>