summaryrefslogtreecommitdiff
path: root/tools/lib/python/abi/helpers.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2025-11-04 11:42:55 -1000
committerTejun Heo <tj@kernel.org>2025-11-04 11:46:25 -1000
commitd723f36e014d296d668b577c0c69cc37be75e6d2 (patch)
tree0245d93d22c4b4cf56f5814592c2bd9d5c232afc /tools/lib/python/abi/helpers.py
parent023af03caed8c1c7b863b912b661bb76a8c13c24 (diff)
sched_ext: Minor cleanups to scx_task_iter
- Use memset() in scx_task_iter_start() instead of zeroing fields individually. - In scx_task_iter_next(), move __scx_task_iter_maybe_relock() after the batch check which is simpler. - Update comment to reflect that tasks are removed from scx_tasks when dead (commit 7900aa699c34 ("sched_ext: Fix cgroup exit ordering by moving sched_ext_free() to finish_task_switch()")). No functional changes. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/lib/python/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions