Module Name: src Committed By: pooka Date: Wed Aug 5 14:05:22 UTC 2009
Modified Files: src/sys/rump/librump/rumpvfs: vm_vfs.c Log Message: Clear PG_PAGEOUT in uvm_aio_aiodone() To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/rump/librump/rumpvfs/vm_vfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/librump/rumpvfs/vm_vfs.c diff -u src/sys/rump/librump/rumpvfs/vm_vfs.c:1.8 src/sys/rump/librump/rumpvfs/vm_vfs.c:1.9 --- src/sys/rump/librump/rumpvfs/vm_vfs.c:1.8 Wed Aug 5 00:04:08 2009 +++ src/sys/rump/librump/rumpvfs/vm_vfs.c Wed Aug 5 14:05:22 2009 @@ -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 @@ 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);