summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_kern.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1998-03-01 04:18:54 +0000
committerdyson <dyson@FreeBSD.org>1998-03-01 04:18:54 +0000
commit69e5a1e9f571b8af39e0b507e63b81be43f49634 (patch)
treec798d0618605500d1d7f4999c6d26a20c99e7235 /sys/vm/vm_kern.c
parent8c8a4b1058a64bbc945a9a8c5badfc1ebf7a55c1 (diff)
downloadFreeBSD-src-69e5a1e9f571b8af39e0b507e63b81be43f49634.zip
FreeBSD-src-69e5a1e9f571b8af39e0b507e63b81be43f49634.tar.gz
1) Use a more consistent page wait methodology.
2) Do not unnecessarily force page blocking when paging pages out. 3) Further improve swap pager performance and correctness, including fixing the paging in progress deadlock (except in severe I/O error conditions.) 4) Enable vfs_ioopt=1 as a default. 5) Fix and enable the page prezeroing in SMP mode. All in all, SMP systems especially should show a significant improvement in "snappyness."
Diffstat (limited to 'sys/vm/vm_kern.c')
-rw-r--r--sys/vm/vm_kern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c
index 2f4485a..179a9cc 100644
--- a/sys/vm/vm_kern.c
+++ b/sys/vm/vm_kern.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_kern.c,v 1.44 1998/02/06 12:14:23 eivind Exp $
+ * $Id: vm_kern.c,v 1.45 1998/02/23 08:22:29 dyson Exp $
*/
/*
@@ -182,7 +182,7 @@ kmem_alloc(map, size)
VM_ALLOC_ZERO | VM_ALLOC_RETRY);
if ((mem->flags & PG_ZERO) == 0)
vm_page_zero_fill(mem);
- mem->flags &= ~(PG_BUSY|PG_ZERO);
+ mem->flags &= ~(PG_BUSY | PG_ZERO);
mem->valid = VM_PAGE_BITS_ALL;
}
OpenPOWER on IntegriCloud