]> Gentwo Git Trees - linux/.git/commit
sched/isolation: Force housekeeping if isolcpus and nohz_full don't leave any
authorGabriele Monaco <gmonaco@redhat.com>
Thu, 20 Nov 2025 14:56:51 +0000 (15:56 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 20 Nov 2025 19:17:31 +0000 (20:17 +0100)
commit185bccc79797d71477e672a1b2a2b7d0325044e7
tree0d714c79ecb3219201bbd86b36ee089c67e24523
parent22f8e41680efec63ead03d4693676587814f7a24
sched/isolation: Force housekeeping if isolcpus and nohz_full don't leave any

Currently the user can set up isolcpus and nohz_full in such a way that
leaves no housekeeping CPU (i.e. no CPU that is neither domain isolated
nor nohz full). This can be a problem for other subsystems (e.g. the
timer wheel imgration).

Prevent this configuration by invalidating the last setting in case the
union of isolcpus (domain) and nohz_full covers all CPUs.

Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Waiman Long <longman@redhat.com>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://patch.msgid.link/20251120145653.296659-6-gmonaco@redhat.com
kernel/sched/isolation.c