aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_object.h
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2003-05-18 04:10:16 +0000
committerAlan Cox <alc@FreeBSD.org>2003-05-18 04:10:16 +0000
commit1c500307d13f672d9e38cd54697719a4f8bafeff (patch)
tree8cbfc7eb93bf2470ac7aa7c329a2fa81e4f81b07 /sys/vm/vm_object.h
parentb5568efe33207fe3b28e80997f732f74c8d93a0d (diff)
downloadsrc-1c500307d13f672d9e38cd54697719a4f8bafeff.tar.gz
src-1c500307d13f672d9e38cd54697719a4f8bafeff.zip
Reduce the size of a vm object by converting its shadow list from a TAILQ
to a LIST. Approved by: re (rwatson)
Notes
Notes: svn path=/head/; revision=115127
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r--sys/vm/vm_object.h4
1 files changed, 2 insertions, 2 deletions
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 */