[GIT PULL] sched/urgent for v6.2-rc6

From: Borislav Petkov
Date: Sun Jan 22 2023 - 07:19:06 EST


Hi Linus,

please pull a couple of urgent scheduler fixes for 6.2.

Thx.

---

The following changes since commit 9a5418bc48babb313d2a62df29ebe21ce8c06c59:

sched/core: Use kfree_rcu() in do_set_cpus_allowed() (2023-01-09 11:43:23 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/sched_urgent_for_v6.2_rc6

for you to fetch changes up to 5f5cc9ed992cbab6361f198966f0edba5fc52688:

x86/aperfmperf: Erase stale arch_freq_scale values when disabling frequency invariance readings (2023-01-16 10:19:15 +0100)

----------------------------------------------------------------
- Make sure the scheduler doesn't use stale frequency scaling values when latter
get disabled due to a value error

- Fix a NULL pointer access on UP configs

- Use the proper locking when updating CPU capacity

----------------------------------------------------------------
Qais Yousef (2):
sched/uclamp: Fix a uninitialized variable warnings
sched/fair: Fixes for capacity inversion detection

Waiman Long (1):
sched/core: Fix NULL pointer access fault in sched_setaffinity() with non-SMP configs

Yair Podemsky (1):
x86/aperfmperf: Erase stale arch_freq_scale values when disabling frequency invariance readings

arch/x86/kernel/cpu/aperfmperf.c | 9 ++++++++
kernel/sched/core.c | 10 +++++++--
kernel/sched/fair.c | 48 ++++++++++++++++++++++------------------
3 files changed, 44 insertions(+), 23 deletions(-)

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette