On 2026/2/10 4:20, Waiman Long wrote: > 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. > I understand the intent. However, when reading both cpuset.c and sched/isolation.c, it can be confusing whether isolated_hk_cpus is an inverse mask, since in sched/isolation.c “hk” consistently refers to the inverse. How about isolated_cpus_applied? -- Best regards, Ridong
Re: [PATCH/for-next v4 3/4] cgroup/cpuset: Call housekeeping_update() without holding cpus_read_lock
- [PATCH/for-next v4 2/4] cgroup/cpuset: Defer housekeep... Waiman Long
- Re: [PATCH/for-next v4 2/4] cgroup/cpuset: Defer ... Frederic Weisbecker
- Re: [PATCH/for-next v4 2/4] cgroup/cpuset: De... Waiman Long
- Re: [PATCH/for-next v4 2/4] cgroup/cpuset: Defer ... Chen Ridong
- [PATCH/for-next v4 3/4] cgroup/cpuset: Call housekeepi... Waiman Long
- Re: [PATCH/for-next v4 3/4] cgroup/cpuset: Call h... Chen Ridong
- Re: [PATCH/for-next v4 3/4] cgroup/cpuset: Ca... Waiman Long
- Re: [PATCH/for-next v4 3/4] cgroup/cpuset... Chen Ridong
- Re: [PATCH/for-next v4 3/4] cgroup/cpuset: Call h... Chen Ridong
- Re: [PATCH/for-next v4 3/4] cgroup/cpuset: Ca... Waiman Long
- Re: [PATCH/for-next v4 3/4] cgroup/cpuset... Chen Ridong
- [PATCH/for-next v4 4/4] cgroup/cpuset: Eliminate some ... Waiman Long
- Re: [PATCH/for-next v4 4/4] cgroup/cpuset: Elimin... Chen Ridong
- Re: [PATCH/for-next v4 4/4] cgroup/cpuset: El... Waiman Long

