]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memcg: rename MEM_CGROUP_CHARGE_TYPE_MAPPED as MEM_CGROUP_CHARGE_TYPE_ANON
authorKamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Sat, 21 Jul 2012 00:53:55 +0000 (10:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:02:21 +0000 (13:02 +1000)
commitfc1b2b568a2a9c2f0a46d23a7b922d67ce2b38f5
treec43534977d7fc99c6e7f988ccab67410f885f9db
parentc6971e15afd31a67df422fbdc5a5d2a80d96dad7
memcg: rename MEM_CGROUP_CHARGE_TYPE_MAPPED as MEM_CGROUP_CHARGE_TYPE_ANON

Now, in memcg, 2 "MAPPED" enum/macro are found
 MEM_CGROUP_CHARGE_TYPE_MAPPED
 MEM_CGROUP_STAT_FILE_MAPPED

Thier names looks similar to each other but the former is used for
accounting anonymous memory. rename it as TYPE_ANON.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol.c