diff options
author | Peter Zijlstra <[email protected]> | 2021-04-08 11:46:12 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-04-08 13:43:53 -0600 |
commit | 40c7fd3fdfba97a18724a0b96d132335fd419e98 (patch) | |
tree | c7e5ed9dc17a58d49a9f5444c58bd311765d8a40 /tools/perf/scripts/python/libxed.py | |
parent | 3212135a718b06be38811f2d9a320ae842e76409 (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