aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched_fair.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index e82c5722dbe3..5e8f98c103fb 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -2462,7 +2462,8 @@ static inline void update_sg_lb_stats(struct sched_domain *sd,
2462 * @sd: sched_domain whose statistics are to be checked 2462 * @sd: sched_domain whose statistics are to be checked
2463 * @sds: sched_domain statistics 2463 * @sds: sched_domain statistics
2464 * @sg: sched_group candidate to be checked for being the busiest 2464 * @sg: sched_group candidate to be checked for being the busiest
2465 * @sds: sched_group statistics 2465 * @sgs: sched_group statistics
2466 * @this_cpu: the current cpu
2466 * 2467 *
2467 * Determine if @sg is a busier group than the previously selected 2468 * Determine if @sg is a busier group than the previously selected
2468 * busiest group. 2469 * busiest group.
@@ -2588,13 +2589,13 @@ int __weak arch_sd_sibiling_asym_packing(void)
2588 * assuming lower CPU number will be equivalent to lower a SMT thread 2589 * assuming lower CPU number will be equivalent to lower a SMT thread
2589 * number. 2590 * number.
2590 * 2591 *
2592 * Returns 1 when packing is required and a task should be moved to
2593 * this CPU. The amount of the imbalance is returned in *imbalance.
2594 *
2591 * @sd: The sched_domain whose packing is to be checked. 2595 * @sd: The sched_domain whose packing is to be checked.
2592 * @sds: Statistics of the sched_domain which is to be packed 2596 * @sds: Statistics of the sched_domain which is to be packed
2593 * @this_cpu: The cpu at whose sched_domain we're performing load-balance. 2597 * @this_cpu: The cpu at whose sched_domain we're performing load-balance.
2594 * @imbalance: returns amount of imbalanced due to packing. 2598 * @imbalance: returns amount of imbalanced due to packing.
2595 *
2596 * Returns 1 when packing is required and a task should be moved to
2597 * this CPU. The amount of the imbalance is returned in *imbalance.
2598 */ 2599 */
2599static int check_asym_packing(struct sched_domain *sd, 2600static int check_asym_packing(struct sched_domain *sd,
2600 struct sd_lb_stats *sds, 2601 struct sd_lb_stats *sds,