commit | ab418d70e1fceda1e2824c45ba3323a1b1413507 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Jun 14 17:08:36 2007 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jul 10 23:40:30 2007 -0400 |
tree | f7ece30a34a089476f84afc4a95be459a5cb06bf | |
parent | d431a555fcf920e1b5c3e3eba52eb5f5e7836771 [diff] |
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>