Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69026
b: refs/heads/master
c: 5c6b596
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Oct 15, 2007
1 parent d4bc0a1 commit 0371b37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 6d0f0ebd063e36cd0ebae9be15973b02c4245a99
refs/heads/master: 5c6b5964a0629bd39fbf4e5648a8aca32de5bcaf
7 changes: 3 additions & 4 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,7 @@ dequeue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int sleep)
* Preempt the current task with a newly woken task if needed:
*/
static void
__check_preempt_curr_fair(struct cfs_rq *cfs_rq, struct sched_entity *se,
struct sched_entity *curr)
__check_preempt_curr_fair(struct cfs_rq *cfs_rq, struct sched_entity *curr)
{
unsigned long ideal_runtime, delta_exec;

Expand Down Expand Up @@ -663,7 +662,7 @@ static void entity_tick(struct cfs_rq *cfs_rq, struct sched_entity *curr)
if (next == curr)
return;

__check_preempt_curr_fair(cfs_rq, next, curr);
__check_preempt_curr_fair(cfs_rq, curr);
}

/**************************************************
Expand Down Expand Up @@ -866,7 +865,7 @@ static void check_preempt_curr_fair(struct rq *rq, struct task_struct *p)
}

if (is_same_group(curr, p))
__check_preempt_curr_fair(cfs_rq, &p->se, &curr->se);
__check_preempt_curr_fair(cfs_rq, &curr->se);
}

static struct task_struct *pick_next_task_fair(struct rq *rq)
Expand Down

0 comments on commit 0371b37

Please sign in to comment.