[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210610151306.1789549-1-qperret@google.com>
Date: Thu, 10 Jun 2021 15:13:03 +0000
From: Quentin Perret <qperret@...gle.com>
To: mingo@...hat.com, peterz@...radead.org, vincent.guittot@...aro.org,
dietmar.eggemann@....com, qais.yousef@....com, rickyiu@...gle.com,
wvw@...gle.com, patrick.bellasi@...bug.net, xuewen.yan94@...il.com
Cc: linux-kernel@...r.kernel.org, kernel-team@...roid.com,
Quentin Perret <qperret@...gle.com>
Subject: [PATCH v2 0/3] A few uclamp fixes
Hi all,
This series groups together the v2 of a few patches I orignally sent
independently from each others:
https://lore.kernel.org/r/20210609143339.1194238-1-qperret@google.com
https://lore.kernel.org/r/20210609170132.1386495-1-qperret@google.com
https://lore.kernel.org/r/20210609175901.1423553-1-qperret@google.com
But since they're all touching uclamp-related things, I figured I might
as well group them in a series.
The first one is a pure fix, and the two others change a bit the
sched_setattr behaviour for uclamp to make it more convenient to use,
and allow to put restrictions on the per-task API.
Changes since v1:
- fixed the CAP_SYS_NICE check to handle the uclamp_{min,max} = -1
cases correctly;
- fixed commit message of UCLAMP_FLAG_IDLE patch.
Thanks,
Quentin
Quentin Perret (3):
sched: Fix UCLAMP_FLAG_IDLE setting
sched: Skip priority checks with SCHED_FLAG_KEEP_PARAMS
sched: Make uclamp changes depend on CAP_SYS_NICE
kernel/sched/core.c | 64 +++++++++++++++++++++++++++++++++++++--------
1 file changed, 53 insertions(+), 11 deletions(-)
--
2.32.0.272.g935e593368-goog
Powered by blists - more mailing lists