diff options
author | Dennis Zhou <dennis@kernel.org> | 2019-02-25 14:10:15 -0800 |
---|---|---|
committer | Dennis Zhou <dennis@kernel.org> | 2019-03-13 12:25:31 -0700 |
commit | da3afdd5bb5428fd38b4b64f2d5e897c3bb78354 (patch) | |
tree | 561003eb63655cdbb8f8bae8912b46a8f0f5e93b /mm/page_counter.c | |
parent | b89462a9c5f4a3ac5160e7b3599bb09c94b94880 (diff) | |
download | linux-da3afdd5bb5428fd38b4b64f2d5e897c3bb78354.tar.bz2 |
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>
Diffstat (limited to 'mm/page_counter.c')
0 files changed, 0 insertions, 0 deletions