diff options
author | bde <bde@FreeBSD.org> | 1998-07-28 15:30:01 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-28 15:30:01 +0000 |
commit | d7aa77e789378c3cc29c0ae98e66ed030cd8231a (patch) | |
tree | 23151b1b50a3b54d6d158c59dad3f730a87f0986 /sys/vm | |
parent | f3f6e5cc3945b8c3f93b94b3ae0713754d5d9150 (diff) | |
download | FreeBSD-src-d7aa77e789378c3cc29c0ae98e66ed030cd8231a.zip FreeBSD-src-d7aa77e789378c3cc29c0ae98e66ed030cd8231a.tar.gz |
Fixed two spl nesting bugs. They caused (at least) the entire pageout
daemon to run at splvm() forever after swap_pager_putpages() is called
from vm_pageout_scan().
Broken in: rev.1.189 (1998/02/23)
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/swap_pager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 3f9feed..6d42159b 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -39,7 +39,7 @@ * from: Utah $Hdr: swap_pager.c 1.4 91/04/30$ * * @(#)swap_pager.c 8.9 (Berkeley) 3/21/94 - * $Id: swap_pager.c,v 1.96 1998/07/04 20:45:41 julian Exp $ + * $Id: swap_pager.c,v 1.97 1998/07/11 07:46:11 bde Exp $ */ /* @@ -1477,10 +1477,10 @@ swap_pager_putpages(object, m, count, sync, rtvals) for (i = firstidx; i < lastidx; i++) { rtvals[i] = VM_PAGER_PEND; } + splx(s); return VM_PAGER_PEND; } - s = splvm(); /* * wait for the sync I/O to complete */ |