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

Waiman Long
2026-03-31T04:03:47Z

On 3/30/26 7:45 AM, Qiliang Yuan wrote:
> 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.

It looks like your patch series isn't based on the latest v7.0 kernel.
With the latest upstream kernel, the HK_TYPE_DOMAIN cpumask has been
updated to dynamically follow changes made in the cpuset isolated
partition setting.

Cheers,
Longman