Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'sched-urgent-2024-01-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull scheduler fix from Ingo Molnar:
"Fix a cpufreq related performance regression on certain systems, where
the CPU would remain at the lowest frequency, degrading performance
substantially"

* tag 'sched-urgent-2024-01-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched/fair: Fix frequency selection for non-invariant case

+5 -1
+5 -1
kernel/sched/cpufreq_schedutil.c
··· 133 133 if (arch_scale_freq_invariant()) 134 134 return policy->cpuinfo.max_freq; 135 135 136 - return policy->cur; 136 + /* 137 + * Apply a 25% margin so that we select a higher frequency than 138 + * the current one before the CPU is fully busy: 139 + */ 140 + return policy->cur + (policy->cur >> 2); 137 141 } 138 142 139 143 /**