aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2013-05-22 16:57:24 +0000
committerTrond Myklebust <[email protected]>2013-05-22 18:55:32 +0000
commita3c3cac5d31879cd9ae2de7874dc6544ca704aec (patch)
treee6d14d14aaed37a5bc28a8a6ebd952a7a42f9aa6 /tools/perf/util/scripting-engines/trace-event-perl.c
parentNFSv4.1 Fix a pNFS session draining deadlock (diff)
downloadkernel-a3c3cac5d31879cd9ae2de7874dc6544ca704aec.tar.gz
kernel-a3c3cac5d31879cd9ae2de7874dc6544ca704aec.zip
SUNRPC: Prevent an rpc_task wakeup race
The lockless RPC_IS_QUEUED() test in __rpc_execute means that we need to be careful about ordering the calls to rpc_test_and_set_running(task) and rpc_clear_queued(task). If we get the order wrong, then we may end up testing the RPC_TASK_RUNNING flag after __rpc_execute() has looped and changed the state of the rpc_task. Signed-off-by: Trond Myklebust <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions