Greg Banks c081a0c7cf [PATCH] knfsd: test and set SK_BUSY atomically
The SK_BUSY bit in svc_sock->sk_flags ensures that we do not attempt to
enqueue a socket twice.  Currently, setting and clearing the bit is protected
by svc_serv->sv_lock.  As I intend to reduce the data that the lock protects
so it's not held when svc_sock_enqueue() tests and sets SK_BUSY, that test and
set needs to be atomic.

Signed-off-by: Greg Banks <gnb@melbourne.sgi.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-02 07:57:19 -07:00
..
2006-09-28 17:53:59 -07:00
2006-07-24 13:52:13 -07:00
2006-09-28 17:53:58 -07:00
2006-09-28 18:02:58 -07:00
2006-09-25 16:52:16 -04:00
2006-10-02 07:57:14 -07:00
2006-08-05 21:15:58 -07:00
2006-08-13 18:56:26 -07:00
2006-07-12 13:58:59 -07:00
2006-10-01 00:39:19 -07:00
2006-07-21 15:52:20 -07:00
2006-09-22 14:53:34 -07:00
2005-04-16 15:20:36 -07:00