Re: [-next v2 2/4] cpuset: decouple tmpmaks and cpumaks of cs free

From: Chen Ridong
Date: Wed Aug 13 2025 - 20:39:00 EST




On 2025/8/14 3:50, Waiman Long wrote:
> On 8/13/25 4:29 AM, Chen Ridong wrote:
>> From: Chen Ridong <chenridong@xxxxxxxxxx>
>>
>> Currently, free_cpumasks can free tmpmasks of cpumask of cs. However, it
>> doesn't have couple these 2 options. To make the function more clearer,
>> move the freeing of cpumask in cs to the free_cpuset. And rename the
>> free_cpumasks to the free_tmpmasks. which is Single responsibility.
>>
>> Signed-off-by: Chen Ridong <chenridong@xxxxxxxxxx>
>
> Other than typos in the patch title, the code change looks good to me.
>
> Cheers,
> Longman

Thank you for your feedback.
I apologize for the typos—I will correct them promptly.

Best regards,
Ridong