]> git.ipfire.org Git - thirdparty/linux.git/commit
sched/isolation: Convert housekeeping cpumasks to rcu pointers
authorFrederic Weisbecker <frederic@kernel.org>
Tue, 27 May 2025 13:36:03 +0000 (15:36 +0200)
committerFrederic Weisbecker <frederic@kernel.org>
Tue, 3 Feb 2026 14:23:33 +0000 (15:23 +0100)
commit27c3a5967f054ab666704cb28f2aeb18ca07cab7
tree6a91923ccb1c35efcde8f67dde103bcbf02f05fb
parenta7e546354d9c534dc045ce0cf9ff05d81351a751
sched/isolation: Convert housekeeping cpumasks to rcu pointers

HK_TYPE_DOMAIN's cpumask will soon be made modifiable by cpuset.
A synchronization mechanism is then needed to synchronize the updates
with the housekeeping cpumask readers.

Turn the housekeeping cpumasks into RCU pointers. Once a housekeeping
cpumask will be modified, the update side will wait for an RCU grace
period and propagate the change to interested subsystem when deemed
necessary.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
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: Vlastimil Babka <vbabka@suse.cz>
Cc: Waiman Long <longman@redhat.com>
kernel/sched/isolation.c
kernel/sched/sched.h