aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2021-04-08 11:46:12 +0200
committerJens Axboe <[email protected]>2021-04-08 13:43:53 -0600
commit40c7fd3fdfba97a18724a0b96d132335fd419e98 (patch)
treec7e5ed9dc17a58d49a9f5444c58bd311765d8a40 /tools/perf/scripts/python/libxed.py
parent3212135a718b06be38811f2d9a320ae842e76409 (diff)
block: Fix sys_ioprio_set(.which=IOPRIO_WHO_PGRP) task iteration
do_each_pid_thread() { } while_each_pid_thread() is a double loop and thus break doesn't work as expected. Also, it should be used under tasklist_lock because otherwise we can race against change_pid() for PGID/SID. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions