Allow SRCU readers in irq handlers for KVM
Hello, Ingo,
This series enables srcu_read_lock() and srcu_read_unlock to be used from interrupt handlers, which fixes a bug in KVM's use of SRCU in delivery of interrupts to guest OSes. These patches have been exposed to 0day Test Robot and to -next testing, have been tested by the KVM folks, and were posted to LKML:
http://lkml.kernel.org/r/[email protected]
These changes, based on v4.2-rc4, are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent
for you to fetch changes up to 1123a6041654e8f889014659593bad4168e542c2:
srcu: Allow use of Classic SRCU from both process and interrupt context (2017-06-08 08:25:19 -0700)
----------------------------------------------------------------
Paolo Bonzini (2):
srcu: Allow use of Tiny/Tree SRCU from both process and interrupt context
srcu: Allow use of Classic SRCU from both process and interrupt context
include/linux/srcu.h | 2 -- kernel/rcu/srcu.c | 5 ++--- kernel/rcu/srcutiny.c | 7 ++++--- kernel/rcu/srcutree.c | 5 ++--- 4 files changed, 8 insertions(+), 11 deletions(-)
Quoted 23 lines · Paul E. McKenney
Hello, Ingo,
This series enables
srcu_read_lock()andsrcu_read_unlockto be used from interrupt handlers, which fixes a bug in KVM's use of SRCU in delivery of interrupts to guest OSes. These patches have been exposed to 0day Test Robot and to -next testing, have been tested by the KVM folks, and were posted to LKML:http://lkml.kernel.org/r/[email protected]
These changes, based on v4.2-rc4, are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.gitrcu/urgentfor you to fetch changes up to
1123a6041654e8f889014659593bad4168e542c2:srcu: Allow use of Classic SRCU from both process and interrupt context (2017-06-08 08:25:19 -0700)
----------------------------------------------------------------
Paolo Bonzini (2):
srcu: Allow use of Tiny/Tree SRCU from both process and interrupt context
srcu: Allow use of Classic SRCU from both process and interrupt context
Quoted 5 lines
include/linux/srcu.h | 2 -- kernel/rcu/srcu.c | 5 ++--- kernel/rcu/srcutiny.c | 7 ++++--- kernel/rcu/srcutree.c | 5 ++--- 4 files changed, 8 insertions(+), 11 deletions(-)
Pulled, thanks a lot Paul!
Ingo