sched: Fix comments in struct root_domain
PATCH 1/1 sched: Fix comments in struct root_domain
Move comments related to RT overload, above rto_count.
Signed-off-by Kamalesh Babulal <[email protected]>
--- kernel/sched/sched.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
kernel/sched/sched.h +4 -5
@@ -372,19 +372,18 @@ struct rt_rq {* fully partitioning the member cpus from any other cpuset. Whenever a new * exclusive cpuset is created, we also create and attach a new root-domain * object. -* */ struct root_domain {atomic_t refcount; -atomic_t rto_count; -struct rcu_head rcu; -cpumask_var_t span; -cpumask_var_t online;/* * The "RT overload" flag: it gets set if a CPU has more than * one runnable RT task. */ +atomic_t rto_count; +struct rcu_head rcu; +cpumask_var_t span; +cpumask_var_t online;cpumask_var_t rto_mask;struct cpupri cpupri; };
Signature · 1 line
1.8.4.474.g128a96c
Peter Zijlstra
maintainerQuoted 13 lines · Kamalesh Babulal
Move comments related to RT overload, above
rto_count.Signed-off-by Kamalesh Babulal <[email protected]>--- kernel/sched/sched.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)kernel/sched/sched.h +0
-0@@ -372,19 +372,18 @@ struct rt_rq {* fully partitioning the member cpus from any other cpuset. Whenever a new
kernel/sched/sched.h struct rt_rq { · line 382
Quoted 10 lines
kernel/sched/sched.h +0
-5* exclusive cpuset is created, we also create and attach a new root-domain * object. -* */ struct root_domain {atomic_t refcount; -atomic_t rto_count; -struct rcu_head rcu; -cpumask_var_t span; -cpumask_var_t online;
The span and online mask aren't actually related to the overload muck.
Quoted 15 lines
kernel/sched/sched.h +4
-0/* * The "RT overload" flag: it gets set if a CPU has more than * one runnable RT task. */ +atomic_t rto_count; +struct rcu_head rcu; +cpumask_var_t span; +cpumask_var_t online;cpumask_var_t rto_mask;struct cpupri cpupri; };Signature · 1 line
1.8.4.474.g128a96c