[PATCH v3 0/3] sched: A few uclamp fixes and tweaks
From: Quentin Perret
Date: Wed Jun 23 2021 - 08:34:54 EST
Hi all,
This is the v3 of a series previously posted here:
https://lore.kernel.org/r/20210610151306.1789549-1-qperret@xxxxxxxxxx
The first two patches are fixes that probably make sense on their own.
The 3rd patch introduces a new RLIMIT for uclamp, which can be used to
prevent userspace tasks from messing with their own uclamp requests.
Thanks!
Quentin
Quentin Perret (3):
sched: Fix UCLAMP_FLAG_IDLE setting
sched: Skip priority checks with SCHED_FLAG_KEEP_PARAMS
sched: Introduce RLIMIT_UCLAMP
fs/proc/base.c | 1 +
include/asm-generic/resource.h | 1 +
include/uapi/asm-generic/resource.h | 3 +-
kernel/sched/core.c | 72 ++++++++++++++++++++++-------
4 files changed, 59 insertions(+), 18 deletions(-)
--
2.32.0.288.g62a8d224e6-goog