LKML Archive mirror
 help / color / mirror / Atom feed
* [patch] memcg: remove unused page flag bitfield defines
@ 2011-02-03 14:10 Johannes Weiner
  2011-02-03 23:46 ` KAMEZAWA Hiroyuki
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Weiner @ 2011-02-03 14:10 UTC (permalink / raw
  To: Andrew Morton
  Cc: KAMEZAWA Hiroyuki, Daisuke Nishimura, Balbir Singh, linux-mm,
	linux-kernel

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

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
---
 mm/memcontrol.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

(sorry, resend with lists in CC)

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index e1ab9c3..031ff07 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)
-- 
1.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] memcg: remove unused page flag bitfield defines
  2011-02-03 14:10 [patch] memcg: remove unused page flag bitfield defines Johannes Weiner
@ 2011-02-03 23:46 ` KAMEZAWA Hiroyuki
  0 siblings, 0 replies; 2+ messages in thread
From: KAMEZAWA Hiroyuki @ 2011-02-03 23:46 UTC (permalink / raw
  To: Johannes Weiner
  Cc: Andrew Morton, Daisuke Nishimura, Balbir Singh, linux-mm,
	linux-kernel

On Thu, 3 Feb 2011 15:10:00 +0100
Johannes Weiner <hannes@cmpxchg.org> wrote:

> These definitions have been unused since '4b3bde4 memcg: remove the
> overhead associated with the root cgroup'.
> 
> Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>

I tried to remove this but finally I didn't. It seems there will be
no objections for this time.

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-03 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 14:10 [patch] memcg: remove unused page flag bitfield defines Johannes Weiner
2011-02-03 23:46 ` KAMEZAWA Hiroyuki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).