]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - mm/percpu.c
percpu: convert chunk hints to be based on pcpu_block_md
authorDennis Zhou <dennis@kernel.org>
Tue, 26 Feb 2019 18:00:08 +0000 (10:00 -0800)
committerDennis Zhou <dennis@kernel.org>
Wed, 13 Mar 2019 19:25:31 +0000 (12:25 -0700)
commit92c14cab43267411bc9160f23d55a7548d814483
tree9aa31dff3801639a5ef792157d12109976bf12d5
parent047924c96898266e9a37412434abd1db72600384
percpu: convert chunk hints to be based on pcpu_block_md

As mentioned in the last patch, a chunk's hints are no different than a
block just responsible for more bits. This converts chunk level hints to
use a pcpu_block_md to maintain them. This lets us reuse the same hint
helper functions as a block. The left_free and right_free are unused by
the chunk's pcpu_block_md.

Signed-off-by: Dennis Zhou <dennis@kernel.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
mm/percpu-internal.h
mm/percpu-stats.c
mm/percpu.c