Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118478
b: refs/heads/master
c: d95f98d
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Nov 5, 2008
1 parent 7b492cf commit 1fbed15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4b6755fb37595da3630d1d6fc130ea6888cd48f
refs/heads/master: d95f98d0691d3aba5e35850011946a08c9b36428
3 changes: 3 additions & 0 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,9 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int sync)
return;
}

if (unlikely(p->sched_class != &fair_sched_class))
return;

if (unlikely(se == pse))
return;

Expand Down

0 comments on commit 1fbed15

Please sign in to comment.