Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/i386 Add missing STI() from i386/i386/vector.S ...



details:   https://anonhg.NetBSD.org/src/rev/5ac0f2e87d02
branches:  trunk
changeset: 574753:5ac0f2e87d02
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Fri Mar 11 15:45:54 2005 +0000

description:
Add missing STI() from i386/i386/vector.S 1.15.
This seems to fix the network hang issues I noticed with NetBSD guests
on heavy network I/O.

diffstat:

 sys/arch/xen/i386/vector.S |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 6332ecdd9870 -r 5ac0f2e87d02 sys/arch/xen/i386/vector.S
--- a/sys/arch/xen/i386/vector.S        Fri Mar 11 14:28:52 2005 +0000
+++ b/sys/arch/xen/i386/vector.S        Fri Mar 11 15:45:54 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vector.S,v 1.5 2005/03/09 22:39:20 bouyer Exp $        */
+/*     $NetBSD: vector.S,v 1.6 2005/03/11 15:45:54 bouyer Exp $        */
 /*     NetBSD: 1.13 2004/03/11 11:39:26 yamt Exp       */
 
 /*
@@ -844,6 +844,7 @@
 
 IDTVEC(softserial)
        movl    $IPL_SOFTSERIAL, CPUVAR(ILEVEL)
+       STI(%eax)
        incl    CPUVAR(IDEPTH)
 #ifdef MULTIPROCESSOR
        call    _C_LABEL(x86_softintlock)
@@ -862,6 +863,7 @@
 
 IDTVEC(softnet)
        movl    $IPL_SOFTNET, CPUVAR(ILEVEL)
+       STI(%eax)
        incl    CPUVAR(IDEPTH)
 #ifdef MULTIPROCESSOR
        call    _C_LABEL(x86_softintlock)
@@ -893,6 +895,7 @@
 
 IDTVEC(softclock)
        movl    $IPL_SOFTCLOCK, CPUVAR(ILEVEL)
+       STI(%eax)
        incl    CPUVAR(IDEPTH)
 #ifdef MULTIPROCESSOR
        call    _C_LABEL(x86_softintlock)



Home | Main Index | Thread Index | Old Index