Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 issue PAUSE during ipi rendezvous even wi...



details:   https://anonhg.NetBSD.org/src/rev/fed4c2f87332
branches:  trunk
changeset: 554249:fed4c2f87332
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sun Oct 26 11:09:13 2003 +0000

description:
issue PAUSE during ipi rendezvous even with DIAGNOSTIC.

diffstat:

 sys/arch/i386/i386/pmap.c |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r 069933681447 -r fed4c2f87332 sys/arch/i386/i386/pmap.c
--- a/sys/arch/i386/i386/pmap.c Sun Oct 26 10:59:57 2003 +0000
+++ b/sys/arch/i386/i386/pmap.c Sun Oct 26 11:09:13 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.159 2003/10/23 08:30:21 chs Exp $   */
+/*     $NetBSD: pmap.c,v 1.160 2003/10/26 11:09:13 yamt Exp $  */
 
 /*
  *
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.159 2003/10/23 08:30:21 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.160 2003/10/26 11:09:13 yamt Exp $");
 
 #include "opt_cputype.h"
 #include "opt_user_ldt.h"
@@ -3346,15 +3346,14 @@
                                    (1U << ci->ci_cpuid));
        }
 
-       while (self->ci_tlb_ipi_mask != 0)
+       while (self->ci_tlb_ipi_mask != 0) {
 #ifdef DIAGNOSTIC
                if (count++ > 10000000)
                        panic("TLB IPI rendezvous failed (mask %x)",
                            self->ci_tlb_ipi_mask);
-#else
+#endif
                x86_pause();
-               ;
-#endif
+       }
 #endif
 }
 



Home | Main Index | Thread Index | Old Index