summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-06-15 01:08:36 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-11 07:40:30 +0400
commitab418d70e1fceda1e2824c45ba3323a1b1413507 (patch)
treef7ece30a34a089476f84afc4a95be459a5cb06bf /include/linux/errqueue.h
parentd431a555fcf920e1b5c3e3eba52eb5f5e7836771 (diff)
downloadlinux-ab418d70e1fceda1e2824c45ba3323a1b1413507.tar.xz
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions