Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpvfs Release PG_PAGEOUT pages in aiodone.



details:   https://anonhg.NetBSD.org/src/rev/712853233aea
branches:  trunk
changeset: 757650:712853233aea
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Sep 09 12:18:39 2010 +0000

description:
Release PG_PAGEOUT pages in aiodone.

diffstat:

 sys/rump/librump/rumpvfs/vm_vfs.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 22f4eeee5e56 -r 712853233aea sys/rump/librump/rumpvfs/vm_vfs.c
--- a/sys/rump/librump/rumpvfs/vm_vfs.c Thu Sep 09 11:42:52 2010 +0000
+++ b/sys/rump/librump/rumpvfs/vm_vfs.c Thu Sep 09 12:18:39 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_vfs.c,v 1.22 2010/09/09 10:01:25 pooka Exp $        */
+/*     $NetBSD: vm_vfs.c,v 1.23 2010/09/09 12:18:39 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.22 2010/09/09 10:01:25 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_vfs.c,v 1.23 2010/09/09 12:18:39 pooka Exp $");
 
 #include <sys/param.h>
 
@@ -62,6 +62,7 @@
                        KASSERT((pgs[i]->flags & PG_FAKE) == 0);
                        pageout++;
                        pgs[i]->flags &= ~PG_PAGEOUT;
+                       pgs[i]->flags |= PG_RELEASED;
                }
        }
 



Home | Main Index | Thread Index | Old Index