aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wwan/iosm/iosm_ipc_task_queue.c
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2023-07-09 11:45:16 -0400
committerChuck Lever <[email protected]>2023-08-29 17:45:22 -0400
commit35308e7f0fc3942edc87d9c6dc78c4a096428957 (patch)
tree7602c16df0152088c0f6556b20b9ec03edcb6c83 /drivers/net/wwan/iosm/iosm_ipc_task_queue.c
parent2a9893f796a3d5098dd13eae9c2cf8e2f6de5b25 (diff)
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 <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_task_queue.c')
0 files changed, 0 insertions, 0 deletions