Files
android_kernel_xiaomi_sm8450/include/linux/sunrpc
Jeff Layton 8e2281330f 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>
2015-06-10 18:26:18 -04:00
..
2014-11-24 17:31:46 -05:00
2015-06-02 13:30:35 -04:00
2013-08-19 09:55:01 -04:00
2013-07-01 17:23:06 -04:00
2015-01-30 10:47:48 -05:00
2015-01-23 10:29:12 -05:00
2013-07-01 17:23:06 -04:00
2014-05-30 17:32:01 -04:00
2015-06-10 18:26:18 -04:00