summaryrefslogtreecommitdiffstats
path: root/mm/percpu-stats.c
diff options
context:
space:
mode:
authorDennis Zhou2019-02-26 18:56:16 +0100
committerDennis Zhou2019-03-13 20:25:31 +0100
commit047924c96898266e9a37412434abd1db72600384 (patch)
treef77d37338673405e89644bc682e08a8f7584aa03 /mm/percpu-stats.c
parentpercpu: use block scan_hint to only scan forward (diff)
downloadkernel-qcow2-linux-047924c96898266e9a37412434abd1db72600384.tar.gz
kernel-qcow2-linux-047924c96898266e9a37412434abd1db72600384.tar.xz
kernel-qcow2-linux-047924c96898266e9a37412434abd1db72600384.zip
percpu: make pcpu_block_md generic
In reality, a chunk is just a block covering a larger number of bits. The hints themselves are one in the same. Rather than maintaining the hints separately, first introduce nr_bits to genericize pcpu_block_update() to correctly maintain block->right_free. The next patch will convert chunk hints to be managed as a pcpu_block_md. Signed-off-by: Dennis Zhou <dennis@kernel.org> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'mm/percpu-stats.c')
0 files changed, 0 insertions, 0 deletions