Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm pageobj: remove a wrong assertion.
details: https://anonhg.NetBSD.org/src/rev/7b96e2ba656f
branches: trunk
changeset: 761687:7b96e2ba656f
user: yamt <yamt%NetBSD.org@localhost>
date: Sat Feb 05 13:33:47 2011 +0000
description:
pageobj: remove a wrong assertion.
diffstat:
sys/uvm/uvm_pdpolicy_clockpro.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 8d072915759e -r 7b96e2ba656f sys/uvm/uvm_pdpolicy_clockpro.c
--- a/sys/uvm/uvm_pdpolicy_clockpro.c Sat Feb 05 13:32:32 2011 +0000
+++ b/sys/uvm/uvm_pdpolicy_clockpro.c Sat Feb 05 13:33:47 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pdpolicy_clockpro.c,v 1.15 2008/06/04 12:41:40 ad Exp $ */
+/* $NetBSD: uvm_pdpolicy_clockpro.c,v 1.16 2011/02/05 13:33:47 yamt Exp $ */
/*-
* Copyright (c)2005, 2006 YAMAMOTO Takashi,
@@ -43,7 +43,7 @@
#else /* defined(PDSIM) */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pdpolicy_clockpro.c,v 1.15 2008/06/04 12:41:40 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pdpolicy_clockpro.c,v 1.16 2011/02/05 13:33:47 yamt Exp $");
#include "opt_ddb.h"
@@ -502,9 +502,7 @@
if (obj == NULL) {
obj = pg->uanon;
KASSERT(obj != NULL);
- KASSERT(pg->offset == 0);
}
-
return (objid_t)obj;
}
Home |
Main Index |
Thread Index |
Old Index