summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-02 15:14:55 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-03 00:42:40 +0100
commit93b9dca0226cd08fd07db0ec72c34800720309be (patch)
treead76f97464ad9f1889b6d1a045a5eaf51cbd1902
parent70833d9dc6c145e4535f94220eacfc05160bc110 (diff)
vm: merge the two bit fields in struct vm_page
* vm/vm_page.h (struct vm_page): Merge the two bit fields.
-rw-r--r--vm/vm_page.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/vm/vm_page.h b/vm/vm_page.h
index 7392044..339d355 100644
--- a/vm/vm_page.h
+++ b/vm/vm_page.h
@@ -92,11 +92,8 @@ struct vm_page {
free:1, /* page is on free list (P) */
reference:1, /* page has been used (P) */
external:1, /* page considered external (P) */
- extcounted:1, /* page counted in ext counts (P) */
- :0; /* (force to 'long' boundary) */
-
- unsigned int
- /* boolean_t */ busy:1, /* page is in transit (O) */
+ extcounted:1, /* page counted in ext counts (P) */
+ busy:1, /* page is in transit (O) */
wanted:1, /* someone is waiting for page (O) */
tabled:1, /* page is in VP table (O) */
fictitious:1, /* Physical page doesn't exist (O) */
@@ -109,10 +106,9 @@ struct vm_page {
dirty:1, /* Page must be cleaned (O) */
precious:1, /* Page is precious; data must be
* returned even if clean (O) */
- overwriting:1, /* Request to unlock has been made
+ overwriting:1; /* Request to unlock has been made
* without having data. (O)
* [See vm_object_overwrite] */
- :0;
vm_offset_t phys_addr; /* Physical address of page, passed
* to pmap_enter (read-only) */