]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rcu: make rcutorture even more vicious: invoke RCU readers from irq handlers (timers)
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 25 Jun 2008 19:24:52 +0000 (12:24 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Jun 2008 07:24:33 +0000 (09:24 +0200)
commit0729fbf3bc70870370b4f43d652f05a468dc68b8
tree92557b04b368fac084f59d8397c32c5461ac26fd
parent9a13150109fb418c50fa400c012f90d0ce6f67c3
rcu: make rcutorture even more vicious: invoke RCU readers from irq handlers (timers)

This patch allows torturing RCU from irq handlers (timers, in this case).
A new module parameter irqreader enables such additional torturing,
and is enabled by default.  Variants of RCU that do not tolerate readers
being called from irq handlers (e.g., SRCU) ignore irqreader.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: josh@freedesktop.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: dino@in.ibm.com
Cc: akpm@linux-foundation.org
Cc: torvalds@linux-foundation.org
Cc: vegard.nossum@gmail.com
Cc: adobriyan@gmail.com
Cc: oleg@tv-sign.ru
Cc: bunk@kernel.org
Cc: rjw@sisk.pl
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/RCU/torture.txt
kernel/rcutorture.c