summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-12-13 20:02:22 +0300
committerThomas Gleixner <tglx@linutronix.de>2015-12-14 12:03:46 +0300
commit425a5072dcd1bd895eea90a6b495392b6358ebd0 (patch)
tree312ffe3eee07e6fd1ae14732b2d67273df053548 /usr
parentf0cb32207307e9d7b3ee8117078b7a37f8d0166e (diff)
downloadlinux-425a5072dcd1bd895eea90a6b495392b6358ebd0.tar.xz
genirq: Free irq_desc with rcu
The new VMD device driver needs to iterate over a list of "demultiplexing" interrupts. Protecting that list with a lock is not possible because the list is also required in code pathes which hold irq descriptor lock. Therefor the demultiplexing interrupt handler would create a lock inversion scenario if it calls a demux handler with the list protection lock held. A solution for this is to free the irq descriptor via RCU, so the list can be walked with rcu read lock held. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions