Thread (3 messages) 3 messages, 1 author, 2023-01-10
DORMANTno replies

[PATCH v1 0/2] Switch SUNRPC server to per-CPU counters

From: Chuck Lever <cel@kernel.org>
Date: 2023-01-10 15:33:11

I'm trying to enable the use of KCSAN on NFSD. There are some false
positives that make the signal-to-noise ratio unfavorable.

The noisiest data races we (NFSD chickens) have direct control over
are the per-RPC and per-pool statistics. These two patches try to
address those.

There might be some additional desirable changes. For example, we
could make the RPC counters per-net. I'm saving up those pennies
for another rainy day.

---

Chuck Lever (2):
      SUNRPC: Use per-CPU counters to tally server RPC counts
      SUNRPC: Replace pool stats with per-CPU variables


 fs/lockd/svc.c              | 15 ++++++++++-----
 fs/nfs/callback_xdr.c       |  6 ++++--
 fs/nfsd/nfs2acl.c           |  5 +++--
 fs/nfsd/nfs3acl.c           |  5 +++--
 fs/nfsd/nfs3proc.c          |  5 +++--
 fs/nfsd/nfs4proc.c          |  7 ++++---
 fs/nfsd/nfsproc.c           |  6 +++---
 include/linux/lockd/lockd.h |  4 ++--
 include/linux/sunrpc/svc.h  | 17 +++++++----------
 net/sunrpc/stats.c          | 11 ++++++++---
 net/sunrpc/svc.c            | 14 +++++++++++++-
 net/sunrpc/svc_xprt.c       | 18 ++++++++----------
 12 files changed, 68 insertions(+), 45 deletions(-)

--
Chuck Lever
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help