summaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-07-25 01:47:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 10:53:37 -0700
commitcede86acd8bd5d2205dec28db8ac86410a3a19e8 (patch)
tree67ad2d42cadee0b6f9a4de21e06602faae8d8604 /mm/vmstat.c
parentaccf163e6ab729f1fc5fffaa0310e498270bf4e7 (diff)
downloadlinux-cede86acd8bd5d2205dec28db8ac86410a3a19e8.tar.gz
linux-cede86acd8bd5d2205dec28db8ac86410a3a19e8.tar.bz2
linux-cede86acd8bd5d2205dec28db8ac86410a3a19e8.zip
memcg: clean up checking of the disabled flag
Those checks are unnecessary, because when the subsystem is disabled it can't be mounted, so those functions won't get called. The check is needed in functions which will be called in other places except cgroup. [hugh@veritas.com: further checking of disabled flag] Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions