Change the data type used to represent page color in the vm_object

to be the same as that used in the vm_page.  (This change also
shrinks the vm_object.)
This commit is contained in:
Alan Cox 1999-07-10 18:29:18 +00:00
parent a080a18c87
commit b6041a4307
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48738

View File

@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: vm_object.h,v 1.55 1999/06/19 18:42:52 alc Exp $
* $Id: vm_object.h,v 1.56 1999/06/20 21:47:01 alc Exp $
*/
/*
@ -94,9 +94,9 @@ struct vm_object {
vm_size_t size; /* Object size */
int ref_count; /* How many refs?? */
int shadow_count; /* how many objects that this is a shadow for */
int pg_color; /* color of first page in obj */
int hash_rand; /* vm hash table randomizer */
u_short flags; /* see below */
u_short pg_color; /* color of first page in obj */
u_short paging_in_progress; /* Paging (in or out) so don't collapse or destroy */
u_short behavior; /* see below */
int resident_page_count; /* number of resident pages */