diff options
author | Michal Hocko <[email protected]> | 2013-02-22 16:35:40 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-02-23 17:50:21 -0800 |
commit | e477749624fcf0dc95bfa494b7fa6ba2000fe670 (patch) | |
tree | 639233dca3681160576a683b33486bd04b2f2871 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
parent | 8787a1df30c7b75521fe8cbed42895d47e6b8d52 (diff) |
memcg: move memcg_stock initialization to mem_cgroup_init
memcg_stock are currently initialized during the root cgroup allocation
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.
This patch wraps the current memcg_stock initialization code into a
helper calls it from the controller subsystem initialization code.
Signed-off-by: Michal Hocko <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions