Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1183787

Re: [PATCH 7/8] memcg: get rid of mm_struct::owner

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 7/8] memcg: get rid of mm_struct::owner
Date 2015-07-14 17:40 +0200
Message-ID <pMatj-4pB-13@gated-at.bofh.it> (permalink)
References (2 earlier) <pK1ub-5CO-17@gated-at.bofh.it> <pKkGt-19A-1@gated-at.bofh.it> <pKBnY-34H-13@gated-at.bofh.it> <pKG4i-67R-15@gated-at.bofh.it> <pKX57-bu-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 7/8] memcg: get rid of mm_struct::owner Michal Hocko <mhocko@kernel.org> - 2015-07-14 17:40 +0200

csiph-web