Remove questionable KASSERT from previous. hannken can look at

this more closely when he wakes up.  Normally I wouldn't be in such
a huge rush, but due to atf bug #53 the whole test run breaks now.
At least with the KASSERT removed all tests pass again.
This commit is contained in:
pooka 2010-07-29 15:04:04 +00:00
parent 4f870da128
commit a481b222d2

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm.c,v 1.85 2010/07/29 10:54:50 hannken Exp $ */
/* $NetBSD: vm.c,v 1.86 2010/07/29 15:04:04 pooka Exp $ */
/*
* Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved.
@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.85 2010/07/29 10:54:50 hannken Exp $");
__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.86 2010/07/29 15:04:04 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@ -459,7 +459,6 @@ uvm_pagelookup(struct uvm_object *uobj, voff_t off)
struct vm_page *pg;
TAILQ_FOREACH(pg, &uobj->memq, listq.queue) {
KASSERT((pg->flags & PG_MARKER) == 0);
if (pg->offset == off) {
return pg;
}