Re: [PATCH/for-next v4 3/4] cgroup/cpuset: Call housekeeping_update() without holding cpus_read_lock

From: Waiman Long

Date: Mon Feb 09 2026 - 15:21:10 EST


On 2/9/26 2:23 AM, Chen Ridong wrote:

On 2026/2/7 4:37, Waiman Long wrote:
+static cpumask_var_t isolated_hk_cpus; /* T */
Can we get this from isolation.c instead?

The name probably shouldn't include 'hk', since it refers to the inverse
(housekeeping CPUs) of isolated CPUs, right?

The housekeeping_update() will create an inverse of the pass-in isolated cpumasks. As for the name, I add hk to indicate this cpumask is for passing to housekeeping_update() to update housekeeping cpumask. It is not directly related to the cpumasks in sched/isolation.c. Please let me know if you have  a suggestion for the name.

Cheers,
Longman