diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2011-03-24 00:42:22 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-24 03:46:24 +0100 |
commit | 3403968d7a7dc373901cad0cad56b3afcb09cc50 (patch) | |
tree | 9c73d17914dab16fd90dcbae4bac303a98987da0 /mm | |
parent | memcg: simplify the way memory limits are checked (diff) | |
download | linux-3403968d7a7dc373901cad0cad56b3afcb09cc50.tar.xz linux-3403968d7a7dc373901cad0cad56b3afcb09cc50.zip |
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.c | 7 |
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 { NR_CHARGE_TYPE, }; -/* only for here (for easy reading.) */ -#define PCGF_CACHE (1UL << PCG_CACHE) -#define PCGF_USED (1UL << PCG_USED) -#define PCGF_LOCK (1UL << PCG_LOCK) -/* Not used, but added here for completeness */ -#define PCGF_ACCT (1UL << PCG_ACCT) - /* for encoding cft->private value on file */ #define _MEM (0) #define _MEMSWAP (1) |