]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: rpc_timeout_upcall_queue should not sleep
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2006 17:18:44 +0000 (12:18 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2006 17:52:24 +0000 (12:52 -0500)
commit8ef862bcca240d2aa230720170bd58e0642a9a91
tree03c5059d866eb40956fe01094d9bc1b811d9c4f0
parent1d96b7455b77d82ecfdb335388ffab10cd526423
SUNRPC: rpc_timeout_upcall_queue should not sleep

 The function rpc_timeout_upcall_queue runs from a workqueue, and hence
 sleeping is not recommended. Convert the protection of the upcall queue
 from being mutex-based to being spinlock-based.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpc_pipe.c