Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap Disable pmap_md_tlb_check_entry, when MP.



details:   https://anonhg.NetBSD.org/src/rev/abe13fba8307
branches:  trunk
changeset: 335967:abe13fba8307
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Tue Feb 03 10:25:53 2015 +0000

description:
Disable pmap_md_tlb_check_entry, when MP.

diffstat:

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

diffs (27 lines):

diff -r 7598b6b143f9 -r abe13fba8307 sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c       Tue Feb 03 08:48:24 2015 +0000
+++ b/sys/uvm/pmap/pmap.c       Tue Feb 03 10:25:53 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.10 2015/01/26 04:47:53 nonaka Exp $ */
+/*     $NetBSD: pmap.c,v 1.11 2015/02/03 10:25:53 nonaka 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.10 2015/01/26 04:47:53 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.11 2015/02/03 10:25:53 nonaka Exp $");
 
 /*
  *     Manages physical address maps.
@@ -641,7 +641,7 @@
                PMAP_COUNT(shootdown_ipis);
 #endif
        pmap_md_tlb_miss_lock_enter();
-#ifdef DEBUG
+#if defined(DEBUG) && !defined(MULTIPROCESSOR)
        pmap_tlb_check(pmap, pmap_md_tlb_check_entry);
 #endif /* DEBUG */
 



Home | Main Index | Thread Index | Old Index