]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: memcontrol: micro-optimize mem_cgroup_split_huge_fixup()
authorMichal Hocko <mhocko@suse.cz>
Wed, 10 Dec 2014 23:43:51 +0000 (15:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:07 +0000 (17:41 -0800)
commitb9982f8d27f893de2e8e98a25c68bb838b5311a4
tree3848656f59dc14ab93475945c88590b63b7312f0
parent8c0145b62ef7e9019ab39284ed88873c483c8003
mm: memcontrol: micro-optimize mem_cgroup_split_huge_fixup()

Don't call lookup_page_cgroup() when memcg is disabled.

Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c