Re: [PATCH 06/15] sched/core: Dynamically update scheduler domain housekeeping mask

From: Qiliang Yuan

Date: Mon Mar 30 2026 - 07:45:55 EST


On Wed, Mar 25, 2026 at 03:00:53PM +0100, Peter Zijlstra wrote:
> Sched domain boundaries are not static, they are easily changed by
> cpuset partition (v1 and v2 both support this).

You're absolutely right. My description was imprecise. The goal of this
patch was to ensure that the housekeeping mask for scheduler domains
follows the partition boundaries dynamically as they are resized.

In V13, I will explicitly integrate the housekeeping update logic
directly with `cpuset.cpus.partition` transitions. This way, any change
to the isolation level of a partition will automatically update
the kernel-internal housekeeping state, avoiding any parallel management
logic.