diff options
| author | David Greenman <dg@FreeBSD.org> | 1998-11-25 07:40:49 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1998-11-25 07:40:49 +0000 |
| commit | c699f45e35a8b1216ecfbe687306e201a6f2d74a (patch) | |
| tree | d82093d1888176ae14766498bb33ac61802e3a6f /sys/vm | |
| parent | 0e544fd5eaa739bda38825d944190f1f8acf21f8 (diff) | |
Notes
Diffstat (limited to 'sys/vm')
| -rw-r--r-- | sys/vm/vm_fault.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index 1d6b0f2a7cde..886833a5edd4 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -66,7 +66,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_fault.c,v 1.89 1998/10/25 17:44:58 phk Exp $ + * $Id: vm_fault.c,v 1.90 1998/10/28 13:37:02 dg Exp $ */ /* @@ -275,7 +275,7 @@ RetryFault:; fs.m = vm_page_lookup(fs.object, fs.pindex); if (fs.m != NULL) { - int queue; + int queue, s; /* * If the page is being brought in, wait for it and * then retry. @@ -283,8 +283,6 @@ RetryFault:; if ((fs.m->flags & PG_BUSY) || (fs.m->busy && (fs.m->valid & VM_PAGE_BITS_ALL) != VM_PAGE_BITS_ALL)) { - int s; - unlock_things(&fs); s = splvm(); if ((fs.m->flags & PG_BUSY) || @@ -300,7 +298,9 @@ RetryFault:; } queue = fs.m->queue; + s = splvm(); vm_page_unqueue_nowakeup(fs.m); + splx(s); /* * Mark page busy for other processes, and the pagedaemon. |
