diff options
author | dillon <dillon@FreeBSD.org> | 1999-02-08 00:27:56 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-02-08 00:27:56 +0000 |
commit | 3e732af5eab8cbd6d41b59b62aa54411e81cd91c (patch) | |
tree | 91a6c18e863c3525ad9f32155807f794f4559179 /sys | |
parent | bbafa43d0d94b57b8a30d6b86b299ca10312fafa (diff) | |
download | FreeBSD-src-3e732af5eab8cbd6d41b59b62aa54411e81cd91c.zip FreeBSD-src-3e732af5eab8cbd6d41b59b62aa54411e81cd91c.tar.gz |
Backed out vm_map coalesce optimization - it resulted in 22% more page
faults for reasons unknown ( under investigation ).
/usr/bin/time -l make in /usr/src/bin went from 67000 faults to 90000
faults.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_unix.c b/sys/vm/vm_unix.c index d049061..367abb5 100644 --- a/sys/vm/vm_unix.c +++ b/sys/vm/vm_unix.c @@ -38,7 +38,7 @@ * from: Utah $Hdr: vm_unix.c 1.1 89/11/07$ * * @(#)vm_unix.c 8.1 (Berkeley) 6/11/93 - * $Id: vm_unix.c,v 1.17 1998/10/13 08:24:44 dg Exp $ + * $Id: vm_unix.c,v 1.18 1999/02/05 07:49:29 dillon Exp $ */ /* @@ -98,7 +98,7 @@ obreak(p, uap) } diff = new - old; rv = vm_map_find(&vm->vm_map, NULL, 0, &old, diff, FALSE, - VM_PROT_READ|VM_PROT_WRITE, VM_PROT_ALL, 0); + VM_PROT_ALL, VM_PROT_ALL, 0); if (rv != KERN_SUCCESS) { return (ENOMEM); } |