Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm/pmap Remove KASSERT(!VM_PAGEMD_PVLIST_LOCKED_P(mdpg)...



details:   https://anonhg.NetBSD.org/src/rev/e7041bb6a763
branches:  trunk
changeset: 845866:e7041bb6a763
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Oct 20 07:18:22 2019 +0000

description:
Remove KASSERT(!VM_PAGEMD_PVLIST_LOCKED_P(mdpg)) - can only assert that it
is owned

diffstat:

 sys/uvm/pmap/pmap.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 3b3fa0fce5f5 -r e7041bb6a763 sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c       Sat Oct 19 19:45:10 2019 +0000
+++ b/sys/uvm/pmap/pmap.c       Sun Oct 20 07:18:22 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.42 2019/07/12 10:39:12 skrll Exp $  */
+/*     $NetBSD: pmap.c,v 1.43 2019/10/20 07:18:22 skrll Exp $  */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.42 2019/07/12 10:39:12 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.43 2019/10/20 07:18:22 skrll Exp $");
 
 /*
  *     Manages physical address maps.
@@ -1655,7 +1655,6 @@
         * flush the VAC first if there is one.
         */
        kpreempt_disable();
-       KASSERT(!VM_PAGEMD_PVLIST_LOCKED_P(mdpg));
        VM_PAGEMD_PVLIST_READLOCK(mdpg);
        pmap_pvlist_check(mdpg);
        for (; pv != NULL; pv = pv_next) {



Home | Main Index | Thread Index | Old Index