Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137605
b: refs/heads/master
c: d5ac537
h: refs/heads/master
i:
  137603: fcd932c
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Mar 29, 2009
1 parent dfba050 commit 31e4fd8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 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: ee665ecca6d6775f65b1a4154c34f551f62cec52
refs/heads/master: d5ac537e5fb6fc12384c9f3ed6a15e912dfbbc2a
15 changes: 8 additions & 7 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -3190,7 +3190,7 @@ static int move_one_task(struct rq *this_rq, int this_cpu, struct rq *busiest,
return 0;
}
/********** Helpers for find_busiest_group ************************/
/**
/*
* sd_lb_stats - Structure to store the statistics of a sched_domain
* during load balancing.
*/
Expand Down Expand Up @@ -3222,7 +3222,7 @@ struct sd_lb_stats {
#endif
};

/**
/*
* sg_lb_stats - stats of a sched_group required for load_balancing
*/
struct sg_lb_stats {
Expand Down Expand Up @@ -3360,16 +3360,17 @@ static inline void update_sd_power_savings_stats(struct sched_group *group,
}

/**
* check_power_save_busiest_group - Check if we have potential to perform
* some power-savings balance. If yes, set the busiest group to be
* the least loaded group in the sched_domain, so that it's CPUs can
* be put to idle.
*
* check_power_save_busiest_group - see if there is potential for some power-savings balance
* @sds: Variable containing the statistics of the sched_domain
* under consideration.
* @this_cpu: Cpu at which we're currently performing load-balancing.
* @imbalance: Variable to store the imbalance.
*
* Description:
* Check if we have potential to perform some power-savings balance.
* If yes, set the busiest group to be the least loaded group in the
* sched_domain, so that it's CPUs can be put to idle.
*
* Returns 1 if there is potential to perform power-savings balance.
* Else returns 0.
*/
Expand Down

0 comments on commit 31e4fd8

Please sign in to comment.