Messages in this thread | | | Date | Mon, 19 Mar 2012 09:05:32 -0700 | From | Tejun Heo <> | Subject | Re: [PATCHSET] cgroup: cftype based file interface |
| |
Hello, Glauber.
On Mon, Mar 19, 2012 at 02:22:44PM +0400, Glauber Costa wrote: > >Glauber, can you please try to move net kmem stuff out of > >->populate(). If ->create() doesn't work for whatever reason, can you > >please explain it to me so that we can find a proper solution? > > The main reason is twofold: > > It first had to do with the order in which registerings take place > at the kernel. But this matter most for the root cgroup. For the > children, it should be all initialized anyway. So we can special > case whatever is needed.
I see.
> Another point was not to bloat the socket structures with more > function calls, for populate and create. But we can possibly be able > to store some data ourselves, and figure it out. > > How should I do it? Do you want me to provide a patch ontop of your tree ?
Yeah, that would be great.
Thanks.
-- tejun
| |