Messages in this thread | | | Date | Tue, 27 Jul 2021 11:11:00 +0100 | Subject | [PATCH 0/2] A couple of sched_getattr() fixes for DL | From | Quentin Perret <> |
| |
Hi all,
In the context of [1] it became apparent that the way __getparam_dl() copies the sched_flags into the dl_entity struct for deadline tasks can have undesirable side effects. This series fixes two issues in that area causing sched_getattr() to report stale values or things it shouldn't report to userspace.
Thanks, Quentin
[1] https://lore.kernel.org/lkml/ad30be79-8fb2-023d-9936-01f7173164e4@arm.com/
Quentin Perret (2): sched/deadline: Fix reset_on_fork reporting of DL tasks sched: Don't report SCHED_FLAG_SUGOV in sched_getattr()
kernel/sched/core.c | 1 + kernel/sched/deadline.c | 7 ++++--- kernel/sched/sched.h | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-)
-- 2.32.0.432.gabb21c7263-goog
| |