From: Linus Torvalds Date: Thu, 12 Jan 2023 22:39:43 +0000 (-0600) Subject: Merge tag 'sched-urgent-2023-01-12' of git://git.kernel.org/pub/scm/linux/kernel... X-Git-Tag: v6.2-rc4~29 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ea66bf86536d4d98932843896e9d940110a06701;p=tomoyo%2Ftomoyo-test1.git Merge tag 'sched-urgent-2023-01-12' of git://git./linux/kernel/git/tip/tip Pull scheduler fixes from Ingo Molnar: - Fix scheduler frequency invariance bug related to overly long tickless periods triggering an integer overflow and disabling the feature. - Fix use-after-free bug in dup_user_cpus_ptr(). - Fix do_set_cpus_allowed() deadlock scenarios related to calling kfree() with the pi_lock held. NOTE: the rcu_free() is the 'lazy' solution here - we looked at patches to free the structure after the pi_lock got dropped, but that looked quite a bit messier - and none of this is truly performance critical. We can revisit this if it's too lazy of a solution ... * tag 'sched-urgent-2023-01-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/core: Use kfree_rcu() in do_set_cpus_allowed() sched/core: Fix use-after-free bug in dup_user_cpus_ptr() sched/core: Fix arch_scale_freq_tick() on tickless systems --- ea66bf86536d4d98932843896e9d940110a06701