|
@@ -553,9 +553,6 @@ struct rq {
|
|
/* try_to_wake_up() stats */
|
|
/* try_to_wake_up() stats */
|
|
unsigned int ttwu_count;
|
|
unsigned int ttwu_count;
|
|
unsigned int ttwu_local;
|
|
unsigned int ttwu_local;
|
|
-
|
|
|
|
- /* BKL stats */
|
|
|
|
- unsigned int bkl_count;
|
|
|
|
#endif
|
|
#endif
|
|
};
|
|
};
|
|
|
|
|
|
@@ -3887,7 +3884,7 @@ static inline void schedule_debug(struct task_struct *prev)
|
|
schedstat_inc(this_rq(), sched_count);
|
|
schedstat_inc(this_rq(), sched_count);
|
|
#ifdef CONFIG_SCHEDSTATS
|
|
#ifdef CONFIG_SCHEDSTATS
|
|
if (unlikely(prev->lock_depth >= 0)) {
|
|
if (unlikely(prev->lock_depth >= 0)) {
|
|
- schedstat_inc(this_rq(), bkl_count);
|
|
|
|
|
|
+ schedstat_inc(this_rq(), rq_sched_info.bkl_count);
|
|
schedstat_inc(prev, sched_info.bkl_count);
|
|
schedstat_inc(prev, sched_info.bkl_count);
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|