Re: [PATCH next] cpuset: Treat tasks in attaching process as populated
From: Chen Ridong
Date: Tue Nov 11 2025 - 20:42:49 EST
On 2025/11/11 23:16, Waiman Long wrote:
> On 11/11/25 9:01 AM, Michal Koutný wrote:
>> Hi Ridong.
>>
>> On Tue, Nov 11, 2025 at 01:26:32PM +0000, Chen Ridong <chenridong@xxxxxxxxxxxxxxx> wrote:
>> ...
>>> +static inline bool cs_is_populated(struct cpuset *cs)
>>> +{
>>> + /* Tasks in the process of attaching should be considered as populated */
>>> + return cgroup_is_populated(cs->css.cgroup) ||
>>> + cs->attach_in_progress;
>>> +}
>> s/process/cpuset/ in the subject
>> and
>> s/Tasks/Cpusets/ in the comment above
> Agreed.
Thanks, will update.
--
Best regards,
Ridong