aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-03-29 00:52:47 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-29 11:12:39 -0400
commitd5ac537e5fb6fc12384c9f3ed6a15e912dfbbc2a (patch)
tree0b86a19d2e54558ac99ed5e1bb287cf22505b21a
parentee665ecca6d6775f65b1a4154c34f551f62cec52 (diff)
sched: fix errors in struct & function comments
Fix kernel-doc errors in sched.c: the structs don't have kernel-doc notation and the short function description needs to be one line only. Error(kernel/sched.c:3197): cannot understand prototype: 'struct sd_lb_stats ' Error(kernel/sched.c:3228): cannot understand prototype: 'struct sg_lb_stats ' Error(kernel/sched.c:3375): duplicate section name 'Description' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--kernel/sched.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index f4c413bdd38d..5757e03cfac0 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -3190,7 +3190,7 @@ static int move_one_task(struct rq *this_rq, int this_cpu, struct rq *busiest,
3190 return 0; 3190 return 0;
3191} 3191}
3192/********** Helpers for find_busiest_group ************************/ 3192/********** Helpers for find_busiest_group ************************/
3193/** 3193/*
3194 * sd_lb_stats - Structure to store the statistics of a sched_domain 3194 * sd_lb_stats - Structure to store the statistics of a sched_domain
3195 * during load balancing. 3195 * during load balancing.
3196 */ 3196 */
@@ -3222,7 +3222,7 @@ struct sd_lb_stats {
3222#endif 3222#endif
3223}; 3223};
3224 3224
3225/** 3225/*
3226 * sg_lb_stats - stats of a sched_group required for load_balancing 3226 * sg_lb_stats - stats of a sched_group required for load_balancing
3227 */ 3227 */
3228struct sg_lb_stats { 3228struct sg_lb_stats {
@@ -3360,16 +3360,17 @@ static inline void update_sd_power_savings_stats(struct sched_group *group,
3360} 3360}
3361 3361
3362/** 3362/**
3363 * check_power_save_busiest_group - Check if we have potential to perform 3363 * check_power_save_busiest_group - see if there is potential for some power-savings balance
3364 * some power-savings balance. If yes, set the busiest group to be
3365 * the least loaded group in the sched_domain, so that it's CPUs can
3366 * be put to idle.
3367 *
3368 * @sds: Variable containing the statistics of the sched_domain 3364 * @sds: Variable containing the statistics of the sched_domain
3369 * under consideration. 3365 * under consideration.
3370 * @this_cpu: Cpu at which we're currently performing load-balancing. 3366 * @this_cpu: Cpu at which we're currently performing load-balancing.
3371 * @imbalance: Variable to store the imbalance. 3367 * @imbalance: Variable to store the imbalance.
3372 * 3368 *
3369 * Description:
3370 * Check if we have potential to perform some power-savings balance.
3371 * If yes, set the busiest group to be the least loaded group in the
3372 * sched_domain, so that it's CPUs can be put to idle.
3373 *
3373 * Returns 1 if there is potential to perform power-savings balance. 3374 * Returns 1 if there is potential to perform power-savings balance.
3374 * Else returns 0. 3375 * Else returns 0.
3375 */ 3376 */