From 0cacdedace5c43f1f966a924fef15a27b3454224 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 27 Nov 2016 22:28:02 +0100 Subject: [PATCH] sched.7: Further clarify scheduling policies for which autogroup applied Further clarify that autogroup groups only SCHED_OTHER/SCHED_NICE/ SCHED_IDLE processes. Signed-off-by: Michael Kerrisk --- man7/sched.7 | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/man7/sched.7 b/man7/sched.7 index 5c2b67824..36b4f594a 100644 --- a/man7/sched.7 +++ b/man7/sched.7 @@ -847,8 +847,21 @@ The use of the CPU controller to place processes in cgroups other than the root CPU cgroup overrides the effect of autogrouping. -The autogroup feature does not group processes -that are scheduled under a real-time and deadline policies. +In a nonroot autogroup, +the effect of autogroup nice value and the process nice value are additive + +Autogroup nice level affects SCHED_OTHER, SCHED_BATCH, and SCHED_IDLE, but +not RT policies. + + +The autogroup feature groups only processes scheduled under +non-real-time policies +.RB ( SCHED_OTHER , +.BR SCHED_BATCH , +and +.BR SCHED_IDLE ). +It does not group processes scheduled under real-time and +deadline policies. Those processes are scheduled according to the rules described earlier. .SH NOTES The