We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87f1fb7 commit 0ab94c3Copy full SHA for 0ab94c3
kernel/sched/sched.h
@@ -813,17 +813,17 @@ struct rt_rq {
813
814
#ifdef CONFIG_RT_GROUP_SCHED
815
int rt_throttled;
816
- u64 rt_time;
817
- u64 rt_runtime;
+ u64 rt_time; /* consumed RT time, goes up in update_curr_rt */
+ u64 rt_runtime; /* allotted RT time, "slice" from rt_bandwidth, RT sharing/balancing */
818
/* Nests inside the rq lock: */
819
raw_spinlock_t rt_runtime_lock;
820
821
unsigned int rt_nr_boosted;
822
823
- struct rq *rq;
+ struct rq *rq; /* this is always top-level rq, cache? */
824
#endif
825
#ifdef CONFIG_CGROUP_SCHED
826
- struct task_group *tg;
+ struct task_group *tg; /* this tg has "this" rt_rq on given CPU for runnable entities */
827
828
};
829
0 commit comments