diff options
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r-- | kernel/sched/sched.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 14b571968713..e6539736af58 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
@@ -222,6 +222,15 @@ struct cfs_rq { | |||
222 | unsigned int nr_spread_over; | 222 | unsigned int nr_spread_over; |
223 | #endif | 223 | #endif |
224 | 224 | ||
225 | #ifdef CONFIG_SMP | ||
226 | /* | ||
227 | * CFS Load tracking | ||
228 | * Under CFS, load is tracked on a per-entity basis and aggregated up. | ||
229 | * This allows for the description of both thread and group usage (in | ||
230 | * the FAIR_GROUP_SCHED case). | ||
231 | */ | ||
232 | u64 runnable_load_avg; | ||
233 | #endif | ||
225 | #ifdef CONFIG_FAIR_GROUP_SCHED | 234 | #ifdef CONFIG_FAIR_GROUP_SCHED |
226 | struct rq *rq; /* cpu runqueue to which this cfs_rq is attached */ | 235 | struct rq *rq; /* cpu runqueue to which this cfs_rq is attached */ |
227 | 236 | ||
@@ -1214,4 +1223,3 @@ static inline u64 irq_time_read(int cpu) | |||
1214 | } | 1223 | } |
1215 | #endif /* CONFIG_64BIT */ | 1224 | #endif /* CONFIG_64BIT */ |
1216 | #endif /* CONFIG_IRQ_TIME_ACCOUNTING */ | 1225 | #endif /* CONFIG_IRQ_TIME_ACCOUNTING */ |
1217 | |||