Skip to content
Commit ab418d70 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Optimise rpciod_up()



Instead of taking the mutex every time we just need to increment/decrement
rpciod_users, we can optmise by using atomic_inc_not_zero and
atomic_dec_and_test.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent d431a555
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment