aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2025-02-01 20:00:02 +0000
committerAnna Schumaker <[email protected]>2025-02-19 21:45:24 +0000
commit5bbd6e863b15a85221e49b9bdb2d5d8f0bb91f3d (patch)
treed2c388f9622009c15c34384e080bff8c842913ef /tools/perf/scripts/python/flamegraph.py
parentNFS: Adjust delegated timestamps for O_DIRECT reads and writes (diff)
downloadkernel-5bbd6e863b15a85221e49b9bdb2d5d8f0bb91f3d.tar.gz
kernel-5bbd6e863b15a85221e49b9bdb2d5d8f0bb91f3d.zip
SUNRPC: Prevent looping due to rpc_signal_task() races
If rpc_signal_task() is called while a task is in an rpc_call_done() callback function, and the latter calls rpc_restart_call(), the task can end up looping due to the RPC_TASK_SIGNALLED flag being set without the tk_rpc_status being set. Removing the redundant mechanism for signalling the task fixes the looping behaviour. Reported-by: Li Lingfeng <[email protected]> Fixes: 39494194f93b ("SUNRPC: Fix races with rpc_killall_tasks()") Signed-off-by: Trond Myklebust <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions