Skip to contentSkip to conversation

memcg: remove unused page flag bitfield defines

PATCH In review Johannes Weiner 2 participants 2 messages Feb 3, 2011

Subsystems (2)
lore
Share & tools
lore

Johannes Weiner

author maintainer
#0 lore raw

PATCH 1/1 memcg: remove unused page flag bitfield defines

These definitions have been unused since '4b3bde4 memcg: remove the overhead associated with the root cgroup'.

---
 mm/memcontrol.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

(sorry, resend with lists in CC)

mm/memcontrol.c +0 -7
index e1ab9c3..031ff07 100644
@@ -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)
Signature · 8 lines
1.7.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>