diff options
author | Michal Hocko <mhocko@suse.cz> | 2013-02-22 16:35:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-23 17:50:21 -0800 |
commit | 8787a1df30c7b75521fe8cbed42895d47e6b8d52 (patch) | |
tree | 12129663393911726999884a370199d7b09b66bd /ipc | |
parent | 0e50ce3b50fb4ffc38c98fe7622361da4d0808c1 (diff) | |
download | linux-exynos-8787a1df30c7b75521fe8cbed42895d47e6b8d52.tar.gz linux-exynos-8787a1df30c7b75521fe8cbed42895d47e6b8d52.tar.bz2 linux-exynos-8787a1df30c7b75521fe8cbed42895d47e6b8d52.zip |
memcg: move mem_cgroup_soft_limit_tree_init to mem_cgroup_init
Per-node-zone soft limit tree is currently initialized when the root
cgroup is created which is OK but it pointlessly pollutes memcg
allocation code with something that can be called when the memcg
subsystem is initialized by mem_cgroup_init along with other controller
specific parts.
While we are at it let's make mem_cgroup_soft_limit_tree_init void
because it doesn't make much sense to report memory failure because if
we fail to allocate memory that early during the boot then we are
screwed anyway (this saves some code).
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Tejun Heo <htejun@gmail.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions