Re: [PATCH] cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
From: Zhang Qiao
Date: Sat Jan 22 2022 - 02:37:37 EST
在 2022/1/21 23:57, Michal Koutný 写道:
> On Fri, Jan 21, 2022 at 06:12:10PM +0800, Zhang Qiao <zhangqiao22@xxxxxxxxxx> wrote:
>> Fixes: be367d099270 ("cgroups: let ss->can_attach and ss->attach do whole threadgroups at a time")
>
> What a deep stratigraphy (not sure if it's this one but anything else
> would likely come from eras ago too).
Yes, I checked again and this bug may have existed since the tag Linux-2.6.12-rc2.
>> Reported-by: Zhao Gongyi <zhaogongyi@xxxxxxxxxx>
>> Signed-off-by: Zhang Qiao <zhangqiao22@xxxxxxxxxx>
>> ---
>> kernel/cgroup/cpuset.c | 2 ++
>> 1 file changed, 2 insertions(+)
>
> Feel free to include
> Reviewed-by: Michal Koutný <mkoutny@xxxxxxxx>
>
Thanks for your review!
Regards,
Qiao
.
> .
>