Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 7d12cce8 authored by Kefeng Wang's avatar Kefeng Wang Committed by Chuck Lever
Browse files

fs: nfsd: use group allocation/free of per-cpu counters API


Use group allocation/free of per-cpu counters api to accelerate
nfsd percpu_counters init/destroy(), and also squash the
nfsd_percpu_counters_init/reset/destroy() and nfsd_counters_init/destroy()
into callers to simplify code.

Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 33a1e6ea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment