diff options
author | Dennis Zhou <dennis@kernel.org> | 2019-02-25 23:10:15 +0100 |
---|---|---|
committer | Dennis Zhou <dennis@kernel.org> | 2019-03-13 20:25:31 +0100 |
commit | da3afdd5bb5428fd38b4b64f2d5e897c3bb78354 (patch) | |
tree | 561003eb63655cdbb8f8bae8912b46a8f0f5e93b /mm/workingset.c | |
parent | percpu: remember largest area skipped during allocation (diff) | |
download | linux-da3afdd5bb5428fd38b4b64f2d5e897c3bb78354.tar.xz linux-da3afdd5bb5428fd38b4b64f2d5e897c3bb78354.zip |
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/workingset.c')
0 files changed, 0 insertions, 0 deletions