From: Kamezawa Hiroyuki Date: Tue, 31 Jul 2012 23:41:41 +0000 (-0700) Subject: memcg: remove MEM_CGROUP_CHARGE_TYPE_FORCE X-Git-Tag: v3.12-rc1~2606^2~112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7d6f529fe1d96a477614eb93f40213d133029e6;p=kernel%2Fkernel-generic.git memcg: remove MEM_CGROUP_CHARGE_TYPE_FORCE There are no users since commit b24028572fb69 ("memcg: remove PCG_CACHE"). Signed-off-by: KAMEZAWA Hiroyuki Acked-by: Hugh Dickins Acked-by: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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,