Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76159
b: refs/heads/master
c: 9ec3b77
h: refs/heads/master
i:
  76157: 13ee469
  76155: 44ab4be
  76151: 69017cb
  76143: d555d49
  76127: 5c3c272
  76095: b90b586
  76031: 8e74306
v: v3
  • Loading branch information
Dmitry Adamushko authored and Ingo Molnar committed Jan 25, 2008
1 parent 5365947 commit 8c18aee
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: 32525d022ad52a5c14e80e130260431e16e294b6
refs/heads/master: 9ec3b77e11b9398ab40b492c4fde7d8aac04a718
3 changes: 3 additions & 0 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,9 @@ static int select_task_rq_fair(struct task_struct *p, int sync)
this_cpu = smp_processor_id();
new_cpu = cpu;

if (cpu == this_cpu)
goto out_set_cpu;

for_each_domain(this_cpu, sd) {
if (cpu_isset(cpu, sd->span)) {
this_sd = sd;
Expand Down

0 comments on commit 8c18aee

Please sign in to comment.