Messages in this thread | | | Date | Tue, 14 Jul 2015 17:32:29 +0200 | From | Michal Hocko <> | Subject | Re: [PATCH 7/8] memcg: get rid of mm_struct::owner |
| |
On Sat 11-07-15 10:09:06, Vladimir Davydov wrote: [...] > Why can't we make root_mem_cgroup statically allocated? AFAICS it's a > common practice - e.g. see blkcg_root, root_task_group.
It's not that easy. mem_cgroup doesn't have a fixed size. It depends on the number of online nodes. I haven't looked closer to this yet but cgroup has an early init code path maybe we can hook in there.
I would like to settle with the current issues described in other email first, though. This is just a cosmetic issue. -- Michal Hocko SUSE Labs
| |