Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern We track page modified info with P...
details: https://anonhg.NetBSD.org/src/rev/f992f4a5e795
branches: trunk
changeset: 762830:f992f4a5e795
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Mar 02 13:11:52 2011 +0000
description:
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.
diffstat:
sys/rump/librump/rumpkern/pmap_stub.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 8dc816994ce0 -r f992f4a5e795 sys/rump/librump/rumpkern/pmap_stub.c
--- a/sys/rump/librump/rumpkern/pmap_stub.c Wed Mar 02 10:51:04 2011 +0000
+++ b/sys/rump/librump/rumpkern/pmap_stub.c Wed Mar 02 13:11:52 2011 +0000
@@ -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;
}
Home |
Main Index |
Thread Index |
Old Index