diff options
author | dyson <dyson@FreeBSD.org> | 1998-02-23 08:22:48 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1998-02-23 08:22:48 +0000 |
commit | c4e82fbab0e2810b076cfdd1462d5c086e1c442b (patch) | |
tree | 32edadf5a10589c683a222e603fe1062a64fbfb1 /sys/vm/vm_map.c | |
parent | b77de226503076b55efebae9b92333cd8c2535d9 (diff) | |
download | FreeBSD-src-c4e82fbab0e2810b076cfdd1462d5c086e1c442b.zip FreeBSD-src-c4e82fbab0e2810b076cfdd1462d5c086e1c442b.tar.gz |
Significantly improve the efficiency of the swap pager, which appears to
have declined due to code-rot over time. The swap pager rundown code
has been clean-up, and unneeded wakeups removed. Lots of splbio's
are changed to splvm's. Also, set the dynamic tunables for the
pageout daemon to be more sane for larger systems (thereby decreasing
the daemon overheadla.)
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r-- | sys/vm/vm_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 62be201..cb4b22f 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_map.c,v 1.114 1998/02/09 06:11:26 eivind Exp $ + * $Id: vm_map.c,v 1.115 1998/02/20 13:11:54 bde Exp $ */ /* @@ -1666,7 +1666,7 @@ vm_map_clean(map, start, end, syncio, invalidate) */ if (current->protection & VM_PROT_WRITE) { if (object->type == OBJT_VNODE) - vn_lock(object->handle, LK_EXCLUSIVE|LK_RETRY, curproc); + vn_lock(object->handle, LK_EXCLUSIVE | LK_RETRY, curproc); vm_object_page_clean(object, OFF_TO_IDX(offset), OFF_TO_IDX(offset + size + PAGE_MASK), |