summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-02 15:54:17 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-03 00:42:40 +0100
commit2f8477fb3bb1b95d2f814d76cf37777ec58c4c76 (patch)
treec28e1b3b4e14c3dc3f044f12fc71dc3252a7cfa1 /vm
parent93b9dca0226cd08fd07db0ec72c34800720309be (diff)
vm: reduce the size of struct vm_page
Previously, the bit field left 31 bits unused. By reducing the size of wire_count by one bit, the size of the whole struct is reduced by four bytes. * vm/vm_page.h (struct vm_page): Reduce the size of wire_count to 15 bits.
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_page.h b/vm/vm_page.h
index 339d355..4fe1b41 100644
--- a/vm/vm_page.h
+++ b/vm/vm_page.h
@@ -84,7 +84,7 @@ struct vm_page {
vm_object_t object; /* which object am I in (O,P) */
vm_offset_t offset; /* offset into that object (O,P) */
- unsigned int wire_count:16, /* how many wired down maps use me?
+ unsigned int wire_count:15, /* how many wired down maps use me?
(O&P) */
/* boolean_t */ inactive:1, /* page is in inactive list (P) */
active:1, /* page is in active list (P) */