diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-05-15 10:24:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-05-15 10:24:48 -0700 |
commit | c12a29ed9094b4b9cde8965c12850460b9a79d7c (patch) | |
tree | 47bafd326f263da78bbf3c0f04a8ceaf43949986 /kernel | |
parent | e7c425b7441a96b95a75304aed369077f71e3e83 (diff) | |
parent | 3743d55b289c203d8f77b7cd47c24926b9d186ae (diff) | |
download | linux-c12a29ed9094b4b9cde8965c12850460b9a79d7c.tar.bz2 |
Merge tag 'sched-urgent-2021-05-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Ingo Molnar:
"Fix an idle CPU selection bug, and an AMD Ryzen maximum frequency
enumeration bug"
* tag 'sched-urgent-2021-05-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86, sched: Fix the AMD CPPC maximum performance value on certain AMD Ryzen generations
sched/fair: Fix clearing of has_idle_cores flag in select_idle_cpu()
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched/fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 20aa234ffe04..3248e24a90b0 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -6217,7 +6217,7 @@ static int select_idle_cpu(struct task_struct *p, struct sched_domain *sd, bool } if (has_idle_core) - set_idle_cores(this, false); + set_idle_cores(target, false); if (sched_feat(SIS_PROP) && !has_idle_core) { time = cpu_clock(this) - time; |