[Devel] Re: [PATCH v5 04/14] kmem accounting basic infrastructure
Tejun Heo
tj at kernel.org
Thu Oct 18 12:47:27 PDT 2012
Hey, Glauber.
On Thu, Oct 18, 2012 at 09:01:23PM +0400, Glauber Costa wrote:
> That is the offensive part. But it is also how things are done in memcg
> right now, and there is nothing fundamentally different in this one.
> Whatever lands in the remaining offenders, can land in here.
I think the problem here is that we don't have "you're committing to
creation of a new cgroup" callback and thus subsystem can't
synchronize locally against cgroup creation. For task migration
->attach() does that but cgroup creation may fail after ->create()
succeeded so that doesn't work.
We'll probably need to add ->post_create() which is invoked after
creation is complete. Li?
Thanks.
--
tejun
More information about the Devel
mailing list