Re: [PATCH 2/2] cgroup: make css->refcnt clearing on cgroupremoval optional

From: Tejun Heo
Date: Fri May 18 2012 - 13:55:53 EST


On Thu, May 17, 2012 at 12:33:05AM +0200, Sasha Levin wrote:
> Hi Tejun,
>
> On Sun, Apr 1, 2012 at 8:54 PM, Tejun Heo <tj@xxxxxxxxxx> wrote:
> > Hello, Li.
> >
> > On Sun, Apr 01, 2012 at 10:00:26AM +0800, Li Zefan wrote:
> >> > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> >>
> >> Both patches look good.
> >>
> >> Acked-by: Li Zefan <lizefan@xxxxxxxxxx>
> >
> > Alright, adding the patches to cgroup/for-3.5.
>
> This patch allows for race when removing a cgroup since one of the
> css's may still have a dentry ref when the cgroup is removed, no? Is
> there a plan to deal with that before this patch gets pushed into 3.5?

Can you please elaborate?

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/