]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
memcg: fold __mem_cgroup_move_account into caller
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 23 Mar 2011 23:42:28 +0000 (16:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2011 02:46:27 +0000 (19:46 -0700)
commitde3638d9cdc89ac899225996b8dcedbcbc53bdd2
tree86293e32728fdd5696cd321bc65aec09c89d17f3
parent97a6c37b34f46feed2544bd40891ee6dd0fd1554
memcg: fold __mem_cgroup_move_account into caller

It is one logical function, no need to have it split up.

Also, get rid of some checks from the inner function that ensured the
sanity of the outer function.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/page_cgroup.h
mm/memcontrol.c