aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_object.h
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-05-02 05:57:11 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-05-02 05:57:11 +0000
commitf325917a653e93998f1013081225956ce032f58e (patch)
treecdb2d3906b52f75bdde9a8e7ecc186d6807c4867 /sys/vm/vm_object.h
parent0023507d9f51668fbece477bcc733c504e4b8911 (diff)
downloadsrc-f325917a653e93998f1013081225956ce032f58e.tar.gz
src-f325917a653e93998f1013081225956ce032f58e.zip
Changed object hash list to be a list rather than a tailq. This saves
space for the hash list buckets and is a little faster. The features of tailq aren't needed. Increased the size of the object hash table to improve performance. In the future, this will be changed so that the table is sized dynamically.
Notes
Notes: svn path=/head/; revision=8216
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r--sys/vm/vm_object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index 3220783ad031..18b4e9ac4bff 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -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.16 1995/03/22 12:24:11 davidg Exp $
+ * $Id: vm_object.h,v 1.17 1995/04/09 06:03:51 davidg Exp $
*/
/*
@@ -115,10 +115,10 @@ struct vm_object {
#define OBJ_PIPWNT 0x0040 /* paging in progress wanted */
#define OBJ_WRITEABLE 0x0080 /* object has been made writeable */
-TAILQ_HEAD(vm_object_hash_head, vm_object_hash_entry);
+LIST_HEAD(vm_object_hash_head, vm_object_hash_entry);
struct vm_object_hash_entry {
- TAILQ_ENTRY(vm_object_hash_entry) hash_links; /* hash chain links */
+ LIST_ENTRY(vm_object_hash_entry) hash_links; /* hash chain links */
vm_object_t object; /* object represened */
};