From 1c500307d13f672d9e38cd54697719a4f8bafeff Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 18 May 2003 04:10:16 +0000 Subject: Reduce the size of a vm object by converting its shadow list from a TAILQ to a LIST. Approved by: re (rwatson) --- sys/vm/vm_object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/vm/vm_object.h') diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index 8cf9467c93ee..f6408b06deb2 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -92,8 +92,8 @@ typedef u_char objtype_t; struct vm_object { struct mtx mtx; TAILQ_ENTRY(vm_object) object_list; /* list of all objects */ - TAILQ_HEAD(, vm_object) shadow_head; /* objects that this is a shadow for */ - TAILQ_ENTRY(vm_object) shadow_list; /* chain of shadow objects */ + LIST_HEAD(, vm_object) shadow_head; /* objects that this is a shadow for */ + LIST_ENTRY(vm_object) shadow_list; /* chain of shadow objects */ TAILQ_HEAD(, vm_page) memq; /* list of resident pages */ vm_page_t root; /* root of the resident page splay tree */ int generation; /* generation ID */ -- cgit v1.3