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