diff options
author | dyson <dyson@FreeBSD.org> | 1996-03-03 21:11:08 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1996-03-03 21:11:08 +0000 |
commit | 1b4bcc8dfdb83ce62d2fe7487294e3e0063b9bf5 (patch) | |
tree | b22ebb5b3acd848b2cf53168a691ce53a95f41a1 /sys/vm/vm_swap.c | |
parent | cda4a6ceba724cde233d6ee3ab68f77e1e22ad10 (diff) | |
download | FreeBSD-src-1b4bcc8dfdb83ce62d2fe7487294e3e0063b9bf5.zip FreeBSD-src-1b4bcc8dfdb83ce62d2fe7487294e3e0063b9bf5.tar.gz |
In order to fix some concurrency problems with the swap pager early
on in the FreeBSD development, I had made a global lock around the
rlist code. This was bogus, and now the lock is maintained on a
per resource list basis. This now allows the rlist code to be used for
almost any non-interrupt level application.
Diffstat (limited to 'sys/vm/vm_swap.c')
-rw-r--r-- | sys/vm/vm_swap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c index 8720286..eac78ca 100644 --- a/sys/vm/vm_swap.c +++ b/sys/vm/vm_swap.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)vm_swap.c 8.5 (Berkeley) 2/17/94 - * $Id: vm_swap.c,v 1.33 1995/12/14 09:55:12 phk Exp $ + * $Id: vm_swap.c,v 1.34 1995/12/21 20:09:46 julian Exp $ */ #include <sys/param.h> @@ -49,6 +49,7 @@ #include <vm/vm.h> #include <vm/vm_param.h> #include <vm/vm_extern.h> +#include <vm/swap_pager.h> #include <miscfs/specfs/specdev.h> |