summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2012-07-31 16:41:41 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-31 18:42:39 -0700
commita7d6f529fe1d96a477614eb93f40213d133029e6 (patch)
tree0702e0eba6763b9f61ec84b017af37ae76b9df65
parent41326c17fc1b45289a82567553249f60d3638a23 (diff)
downloadop-kernel-dev-a7d6f529fe1d96a477614eb93f40213d133029e6.zip
op-kernel-dev-a7d6f529fe1d96a477614eb93f40213d133029e6.tar.gz
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>
-rw-r--r--mm/memcontrol.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 1b3dd27..1940ba8 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,
OpenPOWER on IntegriCloud