diff options
| author | 1997-04-17 01:25:16 +0000 | |
|---|---|---|
| committer | 1997-04-17 01:25:16 +0000 | |
| commit | 65a96b19f714255913c65f6de4ea2f0897fe7163 (patch) | |
| tree | be998d29adab93c88f29f0bbcfe5d8619a19caae /sys/vm/kern_lock.c | |
| parent | Use the real times returned by dkreadstat(). (diff) | |
| download | wireguard-openbsd-65a96b19f714255913c65f6de4ea2f0897fe7163.tar.xz wireguard-openbsd-65a96b19f714255913c65f6de4ea2f0897fe7163.zip | |
Removal of race conditions. Inspired by Charles Hannum's
<mycroft@netbsd.org> reorganization of the vm_collapse logic, although not
used verbatim. We no longer collapse objects from the pagedaemon as that
is not necessary anymore with the more aggressive collapses that gets done.
This also increases performance of loaded systems. Much KNF too.
Diffstat (limited to 'sys/vm/kern_lock.c')
| -rw-r--r-- | sys/vm/kern_lock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/kern_lock.c b/sys/vm/kern_lock.c index 2d03a11c25a..d5c87beee1e 100644 --- a/sys/vm/kern_lock.c +++ b/sys/vm/kern_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_lock.c,v 1.4 1996/08/02 00:05:56 niklas Exp $ */ +/* $OpenBSD: kern_lock.c,v 1.5 1997/04/17 01:25:16 niklas Exp $ */ /* $NetBSD: kern_lock.c,v 1.10 1994/10/30 19:11:09 cgd Exp $ */ /* @@ -73,6 +73,7 @@ #include <sys/systm.h> #include <vm/vm.h> +#include <vm/vm_extern.h> /* XXX */ #include <sys/proc.h> |
