aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2024-04-03 09:50:07 +0200
committerPeter Zijlstra <[email protected]>2024-08-17 11:06:40 +0200
commit8e2e13ac6122915bd98315237b0317495e391be0 (patch)
treeefaee6b8fb17588e694f857e3ab17217ac9ad640 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent949090eaf0a3e39aa0f4a675407e16d0e975da11 (diff)
sched/fair: Cleanup pick_task_fair() vs throttle
Per 54d27365cae8 ("sched/fair: Prevent throttling in early pick_next_task_fair()") the reason check_cfs_rq_runtime() is under the 'if (curr)' check is to ensure the (downward) traversal does not result in an empty cfs_rq. But then the pick_task_fair() 'copy' of all this made it restart the traversal anyway, so that seems to solve the issue too. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Ben Segall <[email protected]> Reviewed-by: Valentin Schneider <[email protected]> Tested-by: Valentin Schneider <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions