Re: [PATCH 1/2] cgroup: get a ref to source csses when migrating

From: Tejun Heo
Date: Tue Aug 25 2015 - 14:14:53 EST


Hello, Aleksa.

On Tue, Aug 25, 2015 at 12:00:54PM +1000, Aleksa Sarai wrote:
> You also mentioned that depending on the css_set's ref being bumped to
> protect the contained csses is "sort of implementation detail. It can
> be implemented in different ways." Which made me think that depending
> on that is not a good idea.
>
> But if it's safe to depend on the cgroup_migrate_add_src() pinning the
> ref on the css_set, I'll drop this patch and fix up the other one
> accordingly.

Yeah, let's go w/o the explicit refcnting.

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/