summaryrefslogtreecommitdiffstats
path: root/mm/percpu-internal.h
diff options
context:
space:
mode:
authorDennis Zhou2019-02-25 23:10:15 +0100
committerDennis Zhou2019-03-13 20:25:31 +0100
commitda3afdd5bb5428fd38b4b64f2d5e897c3bb78354 (patch)
tree561003eb63655cdbb8f8bae8912b46a8f0f5e93b /mm/percpu-internal.h
parentpercpu: remember largest area skipped during allocation (diff)
downloadkernel-qcow2-linux-da3afdd5bb5428fd38b4b64f2d5e897c3bb78354.tar.gz
kernel-qcow2-linux-da3afdd5bb5428fd38b4b64f2d5e897c3bb78354.tar.xz
kernel-qcow2-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/percpu-internal.h')
0 files changed, 0 insertions, 0 deletions