Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3287
b: refs/heads/master
c: 99b61cc
h: refs/heads/master
i:
  3285: 15c8fae
  3283: ba6c1ad
  3279: 042dcaf
v: v3
  • Loading branch information
Nick Piggin authored and Linus Torvalds committed Jun 25, 2005
1 parent 0cbb5cb commit 1ebf7e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: db935dbd43c4290d710304662cc908f733afea06
refs/heads/master: 99b61ccf0bf0e9a85823d39a5db6a1519caeb13d
6 changes: 0 additions & 6 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1877,15 +1877,9 @@ find_busiest_group(struct sched_domain *sd, int this_cpu,

/* Get rid of the scaling factor, rounding down as we divide */
*imbalance = *imbalance / SCHED_LOAD_SCALE;

return busiest;

out_balanced:
if (busiest && (idle == NEWLY_IDLE ||
(idle == SCHED_IDLE && max_load > SCHED_LOAD_SCALE)) ) {
*imbalance = 1;
return busiest;
}

*imbalance = 0;
return NULL;
Expand Down

0 comments on commit 1ebf7e0

Please sign in to comment.