aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2011-03-23 19:42:22 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 22:46:24 -0400
commit3403968d7a7dc373901cad0cad56b3afcb09cc50 (patch)
tree9c73d17914dab16fd90dcbae4bac303a98987da0 /mm
parent9d11ea9f163a14920487bdda77461e64d600fd48 (diff)
memcg: remove unused page flag bitfield defines
These definitions have been unused since '4b3bde4 memcg: remove the overhead associated with the root cgroup'. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Cc: Minchan Kim <minchan.kim@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/memcontrol.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 62bbb48980e5..0595e2b184a2 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -327,13 +327,6 @@ enum charge_type {
327 NR_CHARGE_TYPE, 327 NR_CHARGE_TYPE,
328}; 328};
329 329
330/* only for here (for easy reading.) */
331#define PCGF_CACHE (1UL << PCG_CACHE)
332#define PCGF_USED (1UL << PCG_USED)
333#define PCGF_LOCK (1UL << PCG_LOCK)
334/* Not used, but added here for completeness */
335#define PCGF_ACCT (1UL << PCG_ACCT)
336
337/* for encoding cft->private value on file */ 330/* for encoding cft->private value on file */
338#define _MEM (0) 331#define _MEM (0)
339#define _MEMSWAP (1) 332#define _MEMSWAP (1)