diff options
author | alc <alc@FreeBSD.org> | 2003-05-18 04:10:16 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-05-18 04:10:16 +0000 |
commit | e90c007e3f90ca6efa2bffb2fe6808f6fe8abe4a (patch) | |
tree | 8cbfc7eb93bf2470ac7aa7c329a2fa81e4f81b07 /sys/vm/vm_object.h | |
parent | 64bd3d4ac26f51093a953eb1cf40e8dee49e009c (diff) | |
download | FreeBSD-src-e90c007e3f90ca6efa2bffb2fe6808f6fe8abe4a.zip FreeBSD-src-e90c007e3f90ca6efa2bffb2fe6808f6fe8abe4a.tar.gz |
Reduce the size of a vm object by converting its shadow list from a TAILQ
to a LIST.
Approved by: re (rwatson)
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r-- | sys/vm/vm_object.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index 8cf9467..f6408b0 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 */ |