diff options
author | 2007-04-18 18:51:37 +0000 | |
---|---|---|
committer | 2007-04-18 18:51:37 +0000 | |
commit | 59c19b097514ad6631d0994dc8840b76540f55d9 (patch) | |
tree | 2e44ec7fabf27e304640693282408ab631f2d9b9 | |
parent | When vslocking memory for the sysctl make sure that we aren't trying (diff) | |
download | wireguard-openbsd-59c19b097514ad6631d0994dc8840b76540f55d9.tar.xz wireguard-openbsd-59c19b097514ad6631d0994dc8840b76540f55d9.zip |
Reserve a few pg_flags for pmaps that might want to use them.
i386 will use them soon and miod wants to work on other pmaps in
parallell.
miod@ ok
-rw-r--r-- | sys/uvm/uvm_page.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/uvm/uvm_page.h b/sys/uvm/uvm_page.h index f0774112c6e..75e03fb4596 100644 --- a/sys/uvm/uvm_page.h +++ b/sys/uvm/uvm_page.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_page.h,v 1.24 2007/04/13 18:57:49 art Exp $ */ +/* $OpenBSD: uvm_page.h,v 1.25 2007/04/18 18:51:37 art Exp $ */ /* $NetBSD: uvm_page.h,v 1.19 2000/12/28 08:24:55 chs Exp $ */ /* @@ -176,7 +176,12 @@ struct vm_page { uvm_object */ #define PQ_SWAPBACKED (PQ_ANON|PQ_AOBJ) #define PQ_ENCRYPT 0x00400000 /* page needs {en,de}cryption */ -#define PQ_MASK 0xffff0000 +#define PQ_MASK 0x00ff0000 + +#define PG_PMAP0 0x01000000 /* Used by some pmaps. */ +#define PG_PMAP1 0x02000000 /* Used by some pmaps. */ +#define PG_PMAP2 0x04000000 /* Used by some pmaps. */ +#define PG_PMAP3 0x08000000 /* Used by some pmaps. */ /* * physical memory layout structure |