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.
---
 vm/vm_page.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) */
-- 
1.8.5.2


Reply via email to