SUNRPC: Optimise rpciod_up()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 14 Jun 2007 21:08:36 +0000 (17:08 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:30 +0000 (23:40 -0400)
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>

No differences found