]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
xen/intr: split xen_intr_isrc_lock uses
authorElliott Mitchell <ehem+freebsd@m5p.com>
Tue, 11 May 2021 19:05:03 +0000 (12:05 -0700)
committerRoger Pau Monné <royger@FreeBSD.org>
Fri, 14 Apr 2023 13:58:51 +0000 (15:58 +0200)
commitff73b1d69b90e33e18e60a10383b75058c7639c1
tree210a26de1cc57f25f6050fc83d99a463f4fcd92d
parent834013dea2d29ef943620bfaf7f269f9e581e170
xen/intr: split xen_intr_isrc_lock uses

There are actually several distinct locking domains in xen_intr.c, but
all were sharing the same lock.  Both xen_intr_port_to_isrc[] and the
x86 interrupt structures needed protection.  Split these two apart as a
precursor to splitting the architecture portions off the file.

Reviewed by: royger
Differential Revision: https://reviews.freebsd.org/D30726
sys/x86/xen/xen_intr.c