summaryrefslogtreecommitdiff
path: root/include/linux/user.h
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2025-08-25 18:01:58 +0200
committerFrederic Weisbecker <frederic@kernel.org>2026-01-22 18:32:41 +0100
commitde715325cc47b5a699019b6071620be8da5df146 (patch)
tree8a12c2aa246ba3605cabb3aebd3c21061640b270 /include/linux/user.h
parent608fedd2f303c30fdfbc948112c4281f46fc028a (diff)
cpu: Revert "cpu/hotplug: Prevent self deadlock on CPU hot-unplug"
1) The commit: 2b8272ff4a70 ("cpu/hotplug: Prevent self deadlock on CPU hot-unplug") was added to fix an issue where the hotplug control task (BP) was throttled between CPUHP_AP_IDLE_DEAD and CPUHP_HRTIMERS_PREPARE waiting in the hrtimer blindspot for the bandwidth callback queued in the dead CPU. 2) Later on, the commit: 38685e2a0476 ("cpu/hotplug: Don't offline the last non-isolated CPU") plugged on the target selection for the workqueue offloaded CPU down process to prevent from destroying the last CPU domain. 3) Finally: 5c0930ccaad5 ("hrtimers: Push pending hrtimers away from outgoing CPU earlier") removed entirely the conditions for the race exposed and partially fixed in 1). The offloading of the CPU down process to a workqueue on another CPU then becomes unnecessary. But the last CPU belonging to scheduler domains must still remain online. Therefore revert the now obsolete commit 2b8272ff4a70b866106ae13c36be7ecbef5d5da2 and move the housekeeping check under the cpu_hotplug_lock write held. Since HK_TYPE_DOMAIN will include both isolcpus and cpuset isolated partition, the hotplug lock will synchronize against concurrent cpuset partition updates. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Cc: Marco Crivellari <marco.crivellari@suse.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Tejun Heo <tj@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Waiman Long <longman@redhat.com>
Diffstat (limited to 'include/linux/user.h')
0 files changed, 0 insertions, 0 deletions