Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257158
b: refs/heads/master
c: 2a46dae
h: refs/heads/master
v: v3
  • Loading branch information
Nikunj A. Dadhania authored and Ingo Molnar committed Jul 1, 2011
1 parent 2631663 commit 5a86b04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 36b2e922b5acd291051fab25bc7535274ce49532
refs/heads/master: 2a46dae38087e62dd5fb08a6dadf1407717ed13c
2 changes: 0 additions & 2 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,6 @@ static int wake_affine(struct sched_domain *sd, struct task_struct *p, int sync)
* effect of the currently running task from the load
* of the current CPU:
*/
rcu_read_lock();
if (sync) {
tg = task_group(current);
weight = current->se.load.weight;
Expand Down Expand Up @@ -1517,7 +1516,6 @@ static int wake_affine(struct sched_domain *sd, struct task_struct *p, int sync)
balanced = this_eff_load <= prev_eff_load;
} else
balanced = true;
rcu_read_unlock();

/*
* If the currently running task will sleep within
Expand Down

0 comments on commit 5a86b04

Please sign in to comment.