All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] resolve duplicate flag no for PG_lazyfree
@ 2007-05-14  2:37 ` Fengguang Wu
  2007-05-14  5:46     ` Andrew Morton
  0 siblings, 1 reply; 11+ messages in thread
From: Fengguang Wu @ 2007-05-14  2:37 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

PG_lazyfree and PG_booked shares the same bit.

Either it is a bug that shall fixed by the following patch, or
the situation should be explicitly documented?

Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
---
 include/linux/page-flags.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.21-mm2.orig/include/linux/page-flags.h
+++ linux-2.6.21-mm2/include/linux/page-flags.h
@@ -91,7 +91,7 @@
 #define PG_buddy		19	/* Page is free, on buddy lists */
 #define PG_booked		20	/* Has blocks reserved on-disk */
 
-#define PG_lazyfree		20	/* MADV_FREE potential throwaway */
+#define PG_lazyfree		21	/* MADV_FREE potential throwaway */
 
 /* PG_owner_priv_1 users should have descriptive aliases */
 #define PG_checked		PG_owner_priv_1 /* Used by some filesystems */


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

end of thread, other threads:[~2007-05-16  0:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-14  2:37 [PATCH] resolve duplicate flag no for PG_lazyfree Fengguang Wu
2007-05-14  2:37 ` Fengguang Wu
2007-05-14  5:46   ` Andrew Morton
2007-05-14  5:46     ` Andrew Morton
2007-05-14  7:55     ` Fengguang Wu
2007-05-14  7:55       ` Fengguang Wu
2007-05-14  7:55         ` Fengguang Wu
2007-05-14 18:06     ` Theodore Tso
2007-05-14 18:06       ` Theodore Tso
2007-05-14 20:46       ` Andrew Morton
2007-05-14 20:46         ` Andrew Morton
2007-05-16  0:28         ` Nick Piggin
2007-05-16  0:28           ` Nick Piggin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.