--- 5342a0a6dd156df003c937c1c99a047d92e5d257 +++ 84121b333c75066892119806ad6f6cfc74bb55d4 @@ -128,7 +128,7 @@ static inline int rt_policy(int policy) { - if (unlikely(policy == SCHED_FIFO || policy == SCHED_RR)) + if (policy == SCHED_FIFO || policy == SCHED_RR) return 1; return 0; } @@ -2501,7 +2501,7 @@ ttwu_do_wakeup(struct rq *rq, struct tas 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;