lkml.org 
[lkml]   [2007]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] resolve duplicate flag no for PG_lazyfree
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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-14 04:41    [W:0.022 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site