Re: [GIT PULL rcu/urgent] Allow SRCU readers in irq handlers for KVM

From: Ingo Molnar
Date: Fri Jun 09 2017 - 02:18:16 EST



* Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> wrote:

> 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/20170605220919.GA27820@xxxxxxxxxxxxxxxxxx
>
> 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(-)

Pulled, thanks a lot Paul!

Ingo