Searched hist:"403 c7b44" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/sunrpc/ |
H A D | svc.h | 403c7b44 Fri Nov 21 13:19:29 CST 2014 Jeff Layton <jlayton@primarydata.com> sunrpc: fix potential races in pool_stats collection
In a later patch, we'll be removing some spinlocking around the socket and thread queueing code in order to fix some contention problems. At that point, the stats counters will no longer be protected by the sp_lock.
Change the counters to atomic_long_t fields, except for the "sockets_queued" counter which will still be manipulated under a spinlock.
Signed-off-by: Jeff Layton <jlayton@primarydata.com> Tested-by: Chris Worley <chris.worley@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com> 403c7b44 Fri Nov 21 13:19:29 CST 2014 Jeff Layton <jlayton@primarydata.com> sunrpc: fix potential races in pool_stats collection In a later patch, we'll be removing some spinlocking around the socket and thread queueing code in order to fix some contention problems. At that point, the stats counters will no longer be protected by the sp_lock. Change the counters to atomic_long_t fields, except for the "sockets_queued" counter which will still be manipulated under a spinlock. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Tested-by: Chris Worley <chris.worley@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
|
/openbmc/linux/net/sunrpc/ |
H A D | svc_xprt.c | 403c7b44 Fri Nov 21 13:19:29 CST 2014 Jeff Layton <jlayton@primarydata.com> sunrpc: fix potential races in pool_stats collection
In a later patch, we'll be removing some spinlocking around the socket and thread queueing code in order to fix some contention problems. At that point, the stats counters will no longer be protected by the sp_lock.
Change the counters to atomic_long_t fields, except for the "sockets_queued" counter which will still be manipulated under a spinlock.
Signed-off-by: Jeff Layton <jlayton@primarydata.com> Tested-by: Chris Worley <chris.worley@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com> 403c7b44 Fri Nov 21 13:19:29 CST 2014 Jeff Layton <jlayton@primarydata.com> sunrpc: fix potential races in pool_stats collection In a later patch, we'll be removing some spinlocking around the socket and thread queueing code in order to fix some contention problems. At that point, the stats counters will no longer be protected by the sp_lock. Change the counters to atomic_long_t fields, except for the "sockets_queued" counter which will still be manipulated under a spinlock. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Tested-by: Chris Worley <chris.worley@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
|