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 Remove questionable KASSERT from p...



details:   https://anonhg.NetBSD.org/src/rev/a54981f8c1e8
branches:  trunk
changeset: 756711:a54981f8c1e8
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Jul 29 15:04:04 2010 +0000

description:
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.

diffstat:

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

diffs (26 lines):

diff -r f6db2c151380 -r a54981f8c1e8 sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c    Thu Jul 29 14:50:32 2010 +0000
+++ b/sys/rump/librump/rumpkern/vm.c    Thu Jul 29 15:04:04 2010 +0000
@@ -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 @@
        struct vm_page *pg;
 
        TAILQ_FOREACH(pg, &uobj->memq, listq.queue) {
-               KASSERT((pg->flags & PG_MARKER) == 0);
                if (pg->offset == off) {
                        return pg;
                }



Home | Main Index | Thread Index | Old Index