diff options
| author | Juri Lelli <[email protected]> | 2020-06-17 07:29:19 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2020-06-28 15:01:20 +0000 |
| commit | ce9bc3b27f2a21a7969b41ffb04df8cf61bd1592 (patch) | |
| tree | 161125e9274c8eb6f6cf070e3cc003d404cada93 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | sched/core: Check cpus_mask, not cpus_ptr in __set_cpus_allowed_ptr(), to fix... (diff) | |
| download | kernel-ce9bc3b27f2a21a7969b41ffb04df8cf61bd1592.tar.gz kernel-ce9bc3b27f2a21a7969b41ffb04df8cf61bd1592.zip | |
sched/deadline: Initialize ->dl_boosted
syzbot reported the following warning triggered via SYSC_sched_setattr():
WARNING: CPU: 0 PID: 6973 at kernel/sched/deadline.c:593 setup_new_dl_entity /kernel/sched/deadline.c:594 [inline]
WARNING: CPU: 0 PID: 6973 at kernel/sched/deadline.c:593 enqueue_dl_entity /kernel/sched/deadline.c:1370 [inline]
WARNING: CPU: 0 PID: 6973 at kernel/sched/deadline.c:593 enqueue_task_dl+0x1c17/0x2ba0 /kernel/sched/deadline.c:1441
This happens because the ->dl_boosted flag is currently not initialized by
__dl_clear_params() (unlike the other flags) and setup_new_dl_entity()
rightfully complains about it.
Initialize dl_boosted to 0.
Fixes: 2d3d891d3344 ("sched/deadline: Add SCHED_DEADLINE inheritance logic")
Reported-by: [email protected]
Signed-off-by: Juri Lelli <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Daniel Wagner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
