lkml.org 
[lkml]   [2021]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH v2 0/3] A few uclamp fixes
From
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

\
 
 \ /
  Last update: 2021-06-10 17:14    [W:0.132 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site