diff options
author | K Prateek Nayak <[email protected]> | 2024-11-28 12:59:54 +0530 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2024-12-09 11:48:09 +0100 |
commit | 493afbd187c4c9cc1642792c0d9ba400c3d6d90d (patch) | |
tree | a2be3bced207e135f615b482af71aec9a2a2f239 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 82f9cc094975240885c93effbca7f4603f5de1bf (diff) |
sched/fair: Fix NEXT_BUDDY
Adam reports that enabling NEXT_BUDDY insta triggers a WARN in
pick_next_entity().
Moving clear_buddies() up before the delayed dequeue bits ensures
no ->next buddy becomes delayed. Further ensure no new ->next buddy
ever starts as delayed.
Fixes: 152e11f6df29 ("sched/fair: Implement delayed dequeue")
Reported-by: Adam Li <[email protected]>
Signed-off-by: K Prateek Nayak <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Adam Li <[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