]> git.baikalelectronics.ru Git - 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)
commit64c6a3cd3e0bb312e81e648faa53e88c4c1722d3
tree86293e32728fdd5696cd321bc65aec09c89d17f3
parent1dacaa7c0a483ce5c18fc58f3e61ab2e16602769
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