Source-Changes archive

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

CVS commit: [netbsd-8] src/sys/arch/xen



Module Name:    src
Committed By:   martin
Date:           Mon Jul 31 14:59:25 UTC 2023

Modified Files:
        src/sys/arch/xen/include [netbsd-8]: xen.h
        src/sys/arch/xen/x86 [netbsd-8]: xen_intr.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1862):

        sys/arch/xen/x86/xen_intr.c: revision 1.31 (patch)
        sys/arch/xen/include/xen.h (apply patch)

xen_intr.c: Use kpreempt_disable/enable around access to curcpu().

curcpu() is not otherwise guaranteed to be stable at these points.

While here, nix nonsensical membars.  This need only be synchronized
with interrupts on the same CPU.

Proposed on port-xen:
https://mail-index.netbsd.org/port-xen/2022/07/13/msg010250.html


To generate a diff of this commit:
cvs rdiff -u -r1.37.10.1 -r1.37.10.2 src/sys/arch/xen/include/xen.h
cvs rdiff -u -r1.9 -r1.9.58.1 src/sys/arch/xen/x86/xen_intr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index