diff options
| author | pooka <pooka@NetBSD.org> | 2009-08-05 14:05:22 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2009-08-05 14:05:22 +0000 |
| commit | 095aaa3428fa543d1d5f41e5d94f531a9abfc3de (patch) | |
| tree | 2670a2536101af77cac4f364307cc9ea7834c315 /sys | |
| parent | 7c5a3969975d91ab8fa77b10000b3ed1e09093e8 (diff) | |
Clear PG_PAGEOUT in uvm_aio_aiodone()
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/rump/librump/rumpvfs/vm_vfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/rump/librump/rumpvfs/vm_vfs.c b/sys/rump/librump/rumpvfs/vm_vfs.c index cb41b669bcb..b926b68d3db 100644 --- a/sys/rump/librump/rumpvfs/vm_vfs.c +++ b/sys/rump/librump/rumpvfs/vm_vfs.c @@ -1,4 +1,4 @@ -/* $NetBSD: vm_vfs.c,v 1.8 2009/08/05 00:04:08 pooka Exp $ */ +/* $NetBSD: vm_vfs.c,v 1.9 2009/08/05 14:05:22 pooka Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vm_vfs.c,v 1.8 2009/08/05 00:04:08 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vm_vfs.c,v 1.9 2009/08/05 14:05:22 pooka Exp $"); #include <sys/param.h> @@ -55,6 +55,7 @@ uvm_aio_aiodone(struct buf *bp) for (i = 0; i < npages; i++) { va = (vaddr_t)bp->b_data + (i << PAGE_SHIFT); pgs[i] = uvm_pageratop(va); + pgs[i]->flags &= ~PG_PAGEOUT; } uvm_pagermapout((vaddr_t)bp->b_data, npages); |
