diff options
| author | Tor Egge <tegge@FreeBSD.org> | 2006-03-08 00:51:00 +0000 |
|---|---|---|
| committer | Tor Egge <tegge@FreeBSD.org> | 2006-03-08 00:51:00 +0000 |
| commit | 34ef4672d2ac939396b160afe96700d9bb936444 (patch) | |
| tree | 439dee61572c00c335c8f6916c480dd3d62f2816 /sys/vm | |
| parent | 37fe71649583f17feacb378126ed01d9848e604e (diff) | |
Notes
Diffstat (limited to 'sys/vm')
| -rw-r--r-- | sys/vm/vm_contig.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c index c8768850dc92..d3dc623b73a8 100644 --- a/sys/vm/vm_contig.c +++ b/sys/vm/vm_contig.c @@ -105,6 +105,10 @@ vm_contig_launder_page(vm_page_t m) if (m->dirty == 0 && m->hold_count == 0) pmap_remove_all(m); if (m->dirty) { + if ((object->flags & OBJ_DEAD) != 0) { + VM_OBJECT_UNLOCK(object); + return (EAGAIN); + } if (object->type == OBJT_VNODE) { vm_page_unlock_queues(); vp = object->handle; |
