diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 007958e3c93a..6766959c7f44 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1580,7 +1580,7 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int flags | |||
1580 | */ | 1580 | */ |
1581 | if (sched_feat(LAST_BUDDY) && likely(se->on_rq && curr != rq->idle)) | 1581 | if (sched_feat(LAST_BUDDY) && likely(se->on_rq && curr != rq->idle)) |
1582 | set_last_buddy(se); | 1582 | set_last_buddy(se); |
1583 | if (sched_feat(NEXT_BUDDY)) | 1583 | if (sched_feat(NEXT_BUDDY) && !(flags & WF_FORK)) |
1584 | set_next_buddy(pse); | 1584 | set_next_buddy(pse); |
1585 | 1585 | ||
1586 | /* | 1586 | /* |