aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2015-06-03 16:14:26 -0400
committerTrond Myklebust <[email protected]>2015-06-10 18:26:18 -0400
commit8e2281330f9930bccf77cf04027ec60b6cc0fb34 (patch)
tree6047f570e0ec5de10303d29326d6f62f5d0e2065 /tools/perf/util/scripting-engines/trace-event-perl.c
parent3c87ef6efb40f0e339d705c194b2224f854ec38e (diff)
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 <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Chuck Lever <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions