]> git.baikalelectronics.ru Git - kernel.git/commit
s390/irq: utilize RCU instead of irq_lock_sparse() in show_msi_interrupt()
authorPingfan Liu <kernelfans@gmail.com>
Fri, 22 Apr 2022 10:02:12 +0000 (18:02 +0800)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 27 Apr 2022 10:53:34 +0000 (12:53 +0200)
commit8038817cf59621e5758b4e81de37fe4e3fdb9b55
treefd36fe1dd1204ba09ac42c14acfe821c09665fdc
parent81247616092cb58cc1a61ced88951d30b562bd59
s390/irq: utilize RCU instead of irq_lock_sparse() in show_msi_interrupt()

As demonstrated by commit f2b4ffb9d2c5 ("genirq: Speedup
show_interrupts()"), irq_desc can be accessed safely in RCU read section.

Hence here resorting to rcu read lock to get rid of irq_lock_sparse().

Signed-off-by: Pingfan Liu <kernelfans@gmail.com>
Link: https://lore.kernel.org/r/20220422100212.22666-1-kernelfans@gmail.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/irq.c