aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt3sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorMichal Hocko <[email protected]>2013-02-22 16:34:45 -0800
committerLinus Torvalds <[email protected]>2013-02-23 17:50:17 -0800
commit6acc8b02517d7063b25490b26215834bd2f363c8 (patch)
tree41838cd43aaae8b75cee1ccb073a4d8620104018 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h
parent2d11085e404f7b45ac4de60db2c9685e349c172d (diff)
memcg: clean up swap accounting initialization code
Memcg swap accounting is currently enabled by enable_swap_cgroup when the root cgroup is created. mem_cgroup_init acts as a memcg subsystem initializer which sounds like a much better place for enable_swap_cgroup as well. We already register memsw files from there so it makes a lot of sense to merge those two into a single enable_swap_cgroup function. This patch doesn't introduce any semantic changes. Signed-off-by: Michal Hocko <[email protected]> Cc: Zhouping Liu <[email protected]> Cc: Kamezawa Hiroyuki <[email protected]> Cc: David Rientjes <[email protected]> Cc: Li Zefan <[email protected]> Cc: CAI Qian <[email protected]> Cc: Tejun Heo <[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