]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memcg swap: use mem_cgroup_uncharge_swap()
authorHugh Dickins <hughd@google.com>
Thu, 3 May 2012 05:43:55 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:33 +0000 (15:46 +1000)
commit7ca2e04df719f019ea0687b85b4f1579fe082687
tree31220710e438b40f22a295aecd93b32c76a04271
parent03647b0c2e803a592d2c4fd81c34f41992461e59
memcg swap: use mem_cgroup_uncharge_swap()

That stuff __mem_cgroup_commit_charge_swapin() does with a swap entry, it
has a name and even a declaration: just use mem_cgroup_uncharge_swap().

Signed-off-by: Hugh Dickins <hughd@google.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol.c