mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
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>
This commit is contained in:
parent
ee665ecca6
commit
d5ac537e5f
1 changed files with 8 additions and 7 deletions
|
@ -3190,7 +3190,7 @@ static int move_one_task(struct rq *this_rq, int this_cpu, struct rq *busiest,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/********** Helpers for find_busiest_group ************************/
|
/********** Helpers for find_busiest_group ************************/
|
||||||
/**
|
/*
|
||||||
* sd_lb_stats - Structure to store the statistics of a sched_domain
|
* sd_lb_stats - Structure to store the statistics of a sched_domain
|
||||||
* during load balancing.
|
* during load balancing.
|
||||||
*/
|
*/
|
||||||
|
@ -3222,7 +3222,7 @@ struct sd_lb_stats {
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* sg_lb_stats - stats of a sched_group required for load_balancing
|
* sg_lb_stats - stats of a sched_group required for load_balancing
|
||||||
*/
|
*/
|
||||||
struct sg_lb_stats {
|
struct sg_lb_stats {
|
||||||
|
@ -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
|
* check_power_save_busiest_group - see if there is potential for some power-savings balance
|
||||||
* 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.
|
|
||||||
*
|
|
||||||
* @sds: Variable containing the statistics of the sched_domain
|
* @sds: Variable containing the statistics of the sched_domain
|
||||||
* under consideration.
|
* under consideration.
|
||||||
* @this_cpu: Cpu at which we're currently performing load-balancing.
|
* @this_cpu: Cpu at which we're currently performing load-balancing.
|
||||||
* @imbalance: Variable to store the imbalance.
|
* @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.
|
* Returns 1 if there is potential to perform power-savings balance.
|
||||||
* Else returns 0.
|
* Else returns 0.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue