mm: backing-dev: use group allocation/free of per-cpu counters API
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 25 Mar 2024 03:56:35 +0000 (11:56 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:56:12 +0000 (20:56 -0700)
commit85109a8a9a10602749b2693ddb9417b3d14754a5
treef6fba031dcba320ae60c1cb25bccd5e09c9cdadf
parenta8353dc98f3ae570297e5e25cc05fc7d6b7f0e7b
mm: backing-dev: use group allocation/free of per-cpu counters API

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

Link: https://lkml.kernel.org/r/20240325035635.49342-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Dennis Zhou <dennis@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/backing-dev.c