Searched hist:"8 e2281330f9930bccf77cf04027ec60b6cc0fb34" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/linux/sunrpc/ |
H A D | xprt.h | diff 8e2281330f9930bccf77cf04027ec60b6cc0fb34 Wed Jun 03 15:14:26 CDT 2015 Jeff Layton <jlayton@poochiereds.net> sunrpc: make xprt->swapper an atomic_t
Split xs_swapper into enable/disable functions and eliminate the "enable" flag.
Currently, it's racy if you have multiple swapon/swapoff operations running in parallel over the same xprt. Also fix it so that we only set it to a memalloc socket on a 0->1 transition and only clear it on a 1->0 transition.
Cc: Mel Gorman <mgorman@suse.de> Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
|
/openbmc/linux/net/sunrpc/ |
H A D | clnt.c | diff 8e2281330f9930bccf77cf04027ec60b6cc0fb34 Wed Jun 03 15:14:26 CDT 2015 Jeff Layton <jlayton@poochiereds.net> sunrpc: make xprt->swapper an atomic_t
Split xs_swapper into enable/disable functions and eliminate the "enable" flag.
Currently, it's racy if you have multiple swapon/swapoff operations running in parallel over the same xprt. Also fix it so that we only set it to a memalloc socket on a 0->1 transition and only clear it on a 1->0 transition.
Cc: Mel Gorman <mgorman@suse.de> Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
|
H A D | xprtsock.c | diff 8e2281330f9930bccf77cf04027ec60b6cc0fb34 Wed Jun 03 15:14:26 CDT 2015 Jeff Layton <jlayton@poochiereds.net> sunrpc: make xprt->swapper an atomic_t
Split xs_swapper into enable/disable functions and eliminate the "enable" flag.
Currently, it's racy if you have multiple swapon/swapoff operations running in parallel over the same xprt. Also fix it so that we only set it to a memalloc socket on a 0->1 transition and only clear it on a 1->0 transition.
Cc: Mel Gorman <mgorman@suse.de> Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
|