summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_page.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>1999-08-14 06:25:54 +0000
committeralc <alc@FreeBSD.org>1999-08-14 06:25:54 +0000
commit70b651dfc3ed5ee4e0c55fdac0a545cb08429502 (patch)
tree73636b1d1f3f6ab8729d5b88f4e478c77247fcec /sys/vm/vm_page.h
parent9853a23b9f7bac3bd1af25ea32ecc3f28cdfd432 (diff)
downloadFreeBSD-src-70b651dfc3ed5ee4e0c55fdac0a545cb08429502.zip
FreeBSD-src-70b651dfc3ed5ee4e0c55fdac0a545cb08429502.tar.gz
Don't create a "struct vpgqueues" for PQ_NONE.
Diffstat (limited to 'sys/vm/vm_page.h')
-rw-r--r--sys/vm/vm_page.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index 5e9ce24..1d54a65 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_page.h,v 1.64 1999/07/31 18:31:00 alc Exp $
+ * $Id: vm_page.h,v 1.65 1999/08/12 21:16:53 alc Exp $
*/
/*
@@ -193,12 +193,12 @@ struct vm_page {
#define PQ_L2_MASK (PQ_L2_SIZE - 1)
-#define PQ_NONE 0
-#define PQ_FREE 1
-#define PQ_INACTIVE (1 + 1*PQ_L2_SIZE)
-#define PQ_ACTIVE (2 + 1*PQ_L2_SIZE)
-#define PQ_CACHE (3 + 1*PQ_L2_SIZE)
-#define PQ_COUNT (3 + 2*PQ_L2_SIZE)
+#define PQ_NONE PQ_COUNT
+#define PQ_FREE 0
+#define PQ_INACTIVE PQ_L2_SIZE
+#define PQ_ACTIVE (1 + PQ_L2_SIZE)
+#define PQ_CACHE (2 + PQ_L2_SIZE)
+#define PQ_COUNT (2 + 2*PQ_L2_SIZE)
extern struct vpgqueues {
struct pglist *pl;
OpenPOWER on IntegriCloud