kernel_optimize_test/arch/parisc
Grant Grundler 462b529f91 [PARISC] remove global_ack_eiem
Kudos to Thibaut Varene for spotting the (mis)use of appropriately named
global_ack_eiem. This took a long time to figure out and both insight
from myself, Kyle McMartin, and James Bottomley were required to narrow
down which bit of code could have this race condition.

The symptom was interrupts stopped getting delivered while some workload
was generating IO interrupts on two different CPUs. One of the interrupt
sources would get masked off and stay unmasked. Problem was global_ack_eiem
was accessed with read/modified/write sequence and not protected by
a spinlock.

PA-RISC doesn't need a global ack flag though. External Interrupts
are _always_ delivered to a single CPU (except for "global broadcast
interrupt" which AFAIK currently is not used.) So we don't have to worry
about any given IRQ vector getting delivered to more than one CPU.

Tested on a500 and rp34xx boxen. rsync to/from gsyprf11 (a500)
would lock up the box since NIC (tg3) interrupt and SCSI (sym2)
were on "opposite" CPUs (2 CPU system). Put them on the same CPU
or apply this patch and 10GB of data would rsync completely.

Please apply the following critical patch.

thanks,
grant

Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Acked-by: Thibaut VARENE <T-Bone@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
2007-06-12 01:23:30 -04:00
..
configs libata/IDE: remove combined mode quirk 2007-04-28 14:15:59 -04:00
hpux [PARISC] ROUND_UP macro cleanup in arch/parisc 2007-05-22 23:56:14 -04:00
kernel [PARISC] remove global_ack_eiem 2007-06-12 01:23:30 -04:00
lib [PARISC] use CONFIG_64BIT instead of __LP64__ 2007-02-17 01:16:40 -05:00
math-emu [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04:00
mm [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04:00
oprofile [PARISC] sparse fixes 2006-12-08 00:34:33 -05:00
defconfig [PARISC] defconfig updates 2006-04-21 22:20:33 +00:00
defpalo.conf Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
install.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6 2007-02-26 12:48:06 -08:00
Kconfig.debug [PARISC] Add CONFIG_DEBUG_RODATA to protect read-only data 2006-01-22 20:26:54 -05:00
Makefile [PARISC] Remove GCC_VERSION usage as suggested by Adrian Bunk 2006-12-08 00:34:44 -05:00
nm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00