From 2f8477fb3bb1b95d2f814d76cf37777ec58c4c76 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Thu, 2 Jan 2014 15:54:17 +0100 Subject: 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. --- vm/vm_page.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm') 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) */ -- cgit v1.2.3