linux/arch/s390
Jan Glauber 89c9b66b10 [S390] race safe external interrupt registration
The (un-)register_external_interrupt functions are not race safe if
more than one interrupt handler is added or deleted for an external
interrupt concurrently.

Make the registration / unregistration of external interrupts race safe
by using RCU and a spinlock. RCU is used to avoid a performance penalty
in the external interrupt handler, the register and unregister functions
are protected by the spinlock and are not performance critical.
call_rcu must be used since the SCLP driver uses the interface with
IRQs disabled. Also use the generic list implementation rather than
homebrewn list code.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-07-24 10:48:22 +02:00
..
appldata [S390] mm: add ZONE_DMA to 31-bit config again 2011-05-26 09:48:25 +02:00
boot [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
crypto Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2011-05-20 17:24:14 -07:00
hypfs treewide: remove extra semicolons 2011-04-10 17:01:05 +02:00
include/asm [S390] Use gmap translation for accessing guest memory 2011-07-24 10:48:21 +02:00
kernel [S390] race safe external interrupt registration 2011-07-24 10:48:22 +02:00
kvm [S390] remove kvm mmu reload on s390 2011-07-24 10:48:21 +02:00
lib [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
math-emu s390: change to new flag variable 2011-03-17 14:02:57 +01:00
mm [S390] kvm guest address space mapping 2011-07-24 10:48:21 +02:00
oprofile [S390] hwsampler: Set a sane default sampling rate 2011-06-22 16:24:20 +02:00
defconfig [S390] Update default configuration 2011-01-12 09:55:24 +01:00
Kbuild [S390] standardize Kbuild rules 2010-10-25 16:10:14 +02:00
Kconfig [S390] kvm-s390: fix kconfig dependencies 2011-06-22 16:24:19 +02:00
Kconfig.debug [S390] Write protect module text and RO data 2011-03-15 17:08:23 +01:00
Makefile [S390] remove redundant stack check option 2011-03-15 17:08:22 +01:00