diff options
author | 2024-11-28 12:59:54 +0530 | |
---|---|---|
committer | 2024-12-09 11:48:09 +0100 | |
commit | 493afbd187c4c9cc1642792c0d9ba400c3d6d90d (patch) | |
tree | a2be3bced207e135f615b482af71aec9a2a2f239 /scripts/gdb/linux/utils.py | |
parent | locking: rtmutex: Fix wake_q logic in task_blocks_on_rt_mutex (diff) | |
download | wireguard-linux-493afbd187c4c9cc1642792c0d9ba400c3d6d90d.tar.xz wireguard-linux-493afbd187c4c9cc1642792c0d9ba400c3d6d90d.zip |
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 <adamli@os.amperecomputing.com>
Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Adam Li <adamli@os.amperecomputing.com>
Link: https://lkml.kernel.org/r/670a0d54-e398-4b1f-8a6e-90784e2fdf89@amd.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions