Module Name: src
Committed By: pooka
Date: Wed Mar 2 13:11:53 UTC 2011
Modified Files:
src/sys/rump/librump/rumpkern: pmap_stub.c
Log Message:
We track page modified info with PG_CLEAN, so make clear_modify
return false. This makes rump lfs unmount work on platforms which
use the pmap stub (i.e. non-x86, which already returned false here).
Otherwise, lfs would hang itself trying to flush some buffers but
couldn't fill a segment and therefore wouldn't actually write
anything.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/rump/librump/rumpkern/pmap_stub.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/rumpkern/pmap_stub.c
diff -u src/sys/rump/librump/rumpkern/pmap_stub.c:1.24 src/sys/rump/librump/rumpkern/pmap_stub.c:1.25
--- src/sys/rump/librump/rumpkern/pmap_stub.c:1.24 Wed Jun 16 11:45:21 2010
+++ src/sys/rump/librump/rumpkern/pmap_stub.c Wed Mar 2 13:11:52 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_stub.c,v 1.24 2010/06/16 11:45:21 pooka Exp $ */
+/* $NetBSD: pmap_stub.c,v 1.25 2011/03/02 13:11:52 pooka Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_stub.c,v 1.24 2010/06/16 11:45:21 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_stub.c,v 1.25 2011/03/02 13:11:52 pooka Exp $");
#include <sys/param.h>
@@ -88,5 +88,5 @@
pmap_clear_modify(struct vm_page *pg)
{
- return true;
+ return false;
}