[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] virito: Use auto rcu_read macros
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] virito: Use auto rcu_read macros |
Date: |
Wed, 16 Oct 2019 19:44:50 +0100 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Mon, Oct 14, 2019 at 06:54:40PM +0100, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> Use RCU_READ_LOCK_GUARD and WITH_RCU_READ_LOCK_GUARD
> to replace the manual rcu_read_(un)lock calls.
>
> I think the only change is virtio_load which was missing unlocks
> in error paths; those end up being fatal errors so it's not
> that important anyway.
>
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>
> ---
> hw/virtio/virtio.c | 46 ++++++++++++++++------------------------------
> 1 file changed, 16 insertions(+), 30 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature