aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2024-06-20 13:16:49 +0200
committerPeter Zijlstra <peterz@infradead.org>2024-08-17 11:06:46 +0200
commitaef6987d89544d63a47753cf3741cabff0b5574c (patch)
tree6dc16817c5c2157c775557f58c7bb4e7a5cc444c /include/linux/sched.h
parentsched/eevdf: Use sched_attr::sched_runtime to set request/slice suggestion (diff)
downloadlinux-rng-aef6987d89544d63a47753cf3741cabff0b5574c.tar.xz
linux-rng-aef6987d89544d63a47753cf3741cabff0b5574c.zip
sched/eevdf: Propagate min_slice up the cgroup hierarchy
In the absence of an explicit cgroup slice configureation, make mixed slice length work with cgroups by propagating the min_slice up the hierarchy. This ensures the cgroup entity gets timely service to service its entities that have this timing constraint set on them. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Valentin Schneider <vschneid@redhat.com> Link: https://lkml.kernel.org/r/20240727105030.948188417@infradead.org
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 89a3d8d94e96..3709dedbab59 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -542,6 +542,7 @@ struct sched_entity {
struct rb_node run_node;
u64 deadline;
u64 min_vruntime;
+ u64 min_slice;
struct list_head group_node;
unsigned char on_rq;