Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110731
b: refs/heads/master
c: 57fdc26
h: refs/heads/master
i:
  110729: 9d14bf5
  110727: 652a7c1
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Sep 23, 2008
1 parent 1cedda4 commit 5f5554b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4653f803e6e0d970ffeac0efd2c01743eb6c5228
refs/heads/master: 57fdc26d4a734a3e00c6b2fc0e1e40ff8da4dc31
4 changes: 2 additions & 2 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -1249,15 +1249,15 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int sync)
if (unlikely(se == pse))
return;

cfs_rq_of(pse)->next = pse;

/*
* We can come here with TIF_NEED_RESCHED already set from new task
* wake up path.
*/
if (test_tsk_need_resched(curr))
return;

cfs_rq_of(pse)->next = pse;

/*
* Batch tasks do not preempt (their preemption is driven by
* the tick):
Expand Down

0 comments on commit 5f5554b

Please sign in to comment.