diff --git a/kernel/sched.c b/kernel/sched.c index 269a0450281c3b967fb2c8bbccaabc124cba3ffa..6d24b2e8d82dbfdf90ab9e75a2ba074155368dd7 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -2458,7 +2458,7 @@ static inline void ttwu_post_activation(struct task_struct *p, struct rq *rq, if (p->sched_class->task_woken) p->sched_class->task_woken(rq, p); - if (unlikely(rq->idle_stamp)) { + if (rq->idle_stamp) { u64 delta = rq->clock - rq->idle_stamp; u64 max = 2*sysctl_sched_migration_cost;