summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src/system.h
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-10-14 02:03:53 +0000
committersephe <sephe@FreeBSD.org>2016-10-14 02:03:53 +0000
commitc4797efa68f53398b9f2f6bc081990049741e945 (patch)
treefd752a0e98389fa77f6ccf2e867fa900abd408c4 /contrib/diff/src/system.h
parent2b1e52edeec279364aa791a76e09bf1807e75b83 (diff)
downloadFreeBSD-src-c4797efa68f53398b9f2f6bc081990049741e945.zip
FreeBSD-src-c4797efa68f53398b9f2f6bc081990049741e945.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 'contrib/diff/src/system.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud