summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/netvsc/hv_rndis_filter.c
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-10-17 08:29:16 +0000
committersephe <sephe@FreeBSD.org>2016-10-17 08:29:16 +0000
commitcccb38d06cf8ff04237b57b60e5ab578554d701b (patch)
treeb7bbc439bea09a4c6ee5ed365a41bd170e99f17f /sys/dev/hyperv/netvsc/hv_rndis_filter.c
parent55565986b06331f196d49fa6a456eda204d1524b (diff)
downloadFreeBSD-src-cccb38d06cf8ff04237b57b60e5ab578554d701b.zip
FreeBSD-src-cccb38d06cf8ff04237b57b60e5ab578554d701b.tar.gz
MFC 305722
x86: Use sx lock for interrupt sources. - Certain pic_assign_cpu, e.g. msi_assign_cpu can have quite a long call chain. For msi_assign_cpu, mutex makes complex PCI bridge drivers more tricky, e.g. sleep can note be called, etc, it will be pretty tricky for upcoming Hyper-V PCI bridge driver for PCI pass-through. - It is not used on any hot code path nor non-sleepable context, so sx should have the same effect as mutex. PIC list is still protected by mutex to keep suspend/resume work. Discussed with: jhb Reviewed by: jhb Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7784
Diffstat (limited to 'sys/dev/hyperv/netvsc/hv_rndis_filter.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud