summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-07-09 18:45:16 +0300
committerChuck Lever <chuck.lever@oracle.com>2023-08-30 00:45:22 +0300
commit35308e7f0fc3942edc87d9c6dc78c4a096428957 (patch)
tree7602c16df0152088c0f6556b20b9ec03edcb6c83 /tools/perf/scripts/python/export-to-postgresql.py
parent2a9893f796a3d5098dd13eae9c2cf8e2f6de5b25 (diff)
downloadlinux-35308e7f0fc3942edc87d9c6dc78c4a096428957.tar.xz
NFSD: Refactor nfsd_reply_cache_free_locked()
To reduce contention on the bucket locks, we must avoid calling kfree() while each bucket lock is held. Start by refactoring nfsd_reply_cache_free_locked() into a helper that removes an entry from the bucket (and must therefore run under the lock) and a second helper that frees the entry (which does not need to hold the lock). For readability, rename the helpers nfsd_cacherep_<verb>. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions