blk-cgroup: use group allocation/free of per-cpu counters API
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 25 Mar 2024 03:59:55 +0000 (11:59 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Apr 2024 15:10:17 +0000 (09:10 -0600)
commit688c8b9208356eb5c3fa8047f3e35666f3049a4d
treea09c7eec204439f6eea7ab92788f1a8b0fa822b3
parentfa1af65bf8e2ded0650c2cfd9e8fcca73835485e
blk-cgroup: use group allocation/free of per-cpu counters API

Use group allocation/free of per-cpu counters api to accelerate
blkg_rwstat_init/exit() and simplify code.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Link: https://lore.kernel.org/r/20240325035955.50019-1-wangkefeng.wang@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup-rwstat.c