[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210727101103.2729607-1-qperret@google.com>
Date: Tue, 27 Jul 2021 11:11:00 +0100
From: Quentin Perret <qperret@...gle.com>
To: Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Daniel Bristot de Oliveira <bristot@...hat.com>,
linux-kernel@...r.kernel.org
Cc: Quentin Perret <qperret@...gle.com>
Subject: [PATCH 0/2] A couple of sched_getattr() fixes for DL
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
Powered by blists - more mailing lists