Skip to content
Commit b9982f8d authored by Michal Hocko's avatar Michal Hocko Committed by Linus Torvalds
Browse files

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8c0145b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment