[J/realtime][PATCH] UBUNTU: [Config] realtime: enable CONFIG_RT_GROUP_SCHED
Krzysztof Kozlowski
krzysztof.kozlowski at canonical.com
Thu Jan 13 12:21:52 UTC 2022
The RT_GROUP_SCHED (Real-Time group scheduling) allows explicitly
allocate real CPU bandwidth to task groups. This might be useful for
workloads consisting of separate realtime tasks.
It has however a drawback of requiring root user to allocate realtime
bandwidth for other realtime users, via the CGroup interface.
See also: Documentation/scheduler/sched-rt-group.rst
BugLink: https://bugs.launchpad.net/bugs/1957788
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
---
debian.realtime/config/annotations | 2 ++
debian.realtime/config/config.common.ubuntu | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian.realtime/config/annotations b/debian.realtime/config/annotations
index 82c1e5ed49ae..365230cfe657 100644
--- a/debian.realtime/config/annotations
+++ b/debian.realtime/config/annotations
@@ -25,3 +25,5 @@ CONFIG_NO_HZ_FULL policy<{'amd64': 'y', 'arm64': '
CONFIG_NO_HZ_FULL mark<ENFORCED>
CONFIG_RCU_NOCB_CPU policy<{'amd64': 'y', 'arm64': 'y'}>
CONFIG_RCU_NOCB_CPU mark<ENFORCED>
+CONFIG_RT_GROUP_SCHED policy<{'amd64': 'y', 'arm64': 'y'}>
+CONFIG_RT_GROUP_SCHED mark<ENFORCED>
diff --git a/debian.realtime/config/config.common.ubuntu b/debian.realtime/config/config.common.ubuntu
index f494c4d8f058..2142f943d375 100644
--- a/debian.realtime/config/config.common.ubuntu
+++ b/debian.realtime/config/config.common.ubuntu
@@ -8526,7 +8526,7 @@ CONFIG_RTW89_DEBUG=y
CONFIG_RTW89_DEBUGFS=y
CONFIG_RTW89_DEBUGMSG=y
CONFIG_RTW89_PCI=m
-# CONFIG_RT_GROUP_SCHED is not set
+CONFIG_RT_GROUP_SCHED=y
CONFIG_RT_MUTEXES=y
CONFIG_RUNTIME_TESTING_MENU=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
--
2.32.0
More information about the kernel-team
mailing list