summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorKamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2012-08-01 01:41:41 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-08-01 03:42:39 +0200
commita7d6f529fe1d96a477614eb93f40213d133029e6 (patch)
tree0702e0eba6763b9f61ec84b017af37ae76b9df65 /mm/memcontrol.c
parentmemcg: rename MEM_CGROUP_CHARGE_TYPE_MAPPED as MEM_CGROUP_CHARGE_TYPE_ANON (diff)
downloadlinux-a7d6f529fe1d96a477614eb93f40213d133029e6.tar.xz
linux-a7d6f529fe1d96a477614eb93f40213d133029e6.zip
memcg: remove MEM_CGROUP_CHARGE_TYPE_FORCE
There are no users since commit b24028572fb69 ("memcg: remove PCG_CACHE"). Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Hugh Dickins <hughd@google.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r--mm/memcontrol.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 1b3dd27ead6d..1940ba8e6f00 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -380,7 +380,6 @@ enum charge_type {
MEM_CGROUP_CHARGE_TYPE_CACHE = 0,
MEM_CGROUP_CHARGE_TYPE_ANON,
MEM_CGROUP_CHARGE_TYPE_SHMEM, /* used by page migration of shmem */
- MEM_CGROUP_CHARGE_TYPE_FORCE, /* used by force_empty */
MEM_CGROUP_CHARGE_TYPE_SWAPOUT, /* for accounting swapcache */
MEM_CGROUP_CHARGE_TYPE_DROP, /* a page was unused swap cache */
NR_CHARGE_TYPE,