summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-03-02 15:51:43 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-03-02 15:51:43 +0300
commitc105df5d865afbc10e9730b7b13abc831d5e9ac7 (patch)
tree3c5563534dca1a3d21db1de102edfafe530719cd /kernel
parent852fb4a72822b6c03bcf6cf1d51fb05b319d301e (diff)
parent289de35984815576793f579ec27248609e75976e (diff)
downloadlinux-c105df5d865afbc10e9730b7b13abc831d5e9ac7.tar.xz
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fix from Ingo Molnar: "Fix a scheduler statistics bug" * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/fair: Fix statistics for find_idlest_group()
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/fair.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 3c8a379c357e..c1217bfe5e81 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -8337,6 +8337,8 @@ static inline void update_sg_wakeup_stats(struct sched_domain *sd,
sgs->group_capacity = group->sgc->capacity;
+ sgs->group_weight = group->group_weight;
+
sgs->group_type = group_classify(sd->imbalance_pct, group, sgs);
/*