[PATCH 0/2] more rcu_read_(un)lock conversions

Dr. David Alan Gilbert (git) posted 2 patches 6 years ago
Test asan passed
Test checkpatch passed
Test FreeBSD passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test docker-quick@centos7 passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20191025103403.120616-1-dgilbert@redhat.com
Maintainers: Jason Wang <jasowang@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>
hw/net/virtio-net.c | 7 ++-----
hw/virtio/vhost.c   | 4 +---
2 files changed, 3 insertions(+), 8 deletions(-)
[PATCH 0/2] more rcu_read_(un)lock conversions
Posted by Dr. David Alan Gilbert (git) 6 years ago
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

Hi,
  Two more rcu_read_(un)lock conversions around
virtio stuff.
(to go with, but independent of my previous 'virtio: Use auto rcu_read macros')

I like the way that the virtio-net case simplifies the function
a lot.

Dr. David Alan Gilbert (2):
  virtio/vhost: Use auto_rcu_read macros
  virtio_net: use RCU_READ_LOCK_GUARD

 hw/net/virtio-net.c | 7 ++-----
 hw/virtio/vhost.c   | 4 +---
 2 files changed, 3 insertions(+), 8 deletions(-)

-- 
2.23.0


Re: [PATCH 0/2] more rcu_read_(un)lock conversions
Posted by Michael S. Tsirkin 6 years ago
On Fri, Oct 25, 2019 at 11:34:01AM +0100, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> 
> Hi,
>   Two more rcu_read_(un)lock conversions around
> virtio stuff.
> (to go with, but independent of my previous 'virtio: Use auto rcu_read macros')
> 
> I like the way that the virtio-net case simplifies the function
> a lot.

Indeed, I'll queue this.

> Dr. David Alan Gilbert (2):
>   virtio/vhost: Use auto_rcu_read macros
>   virtio_net: use RCU_READ_LOCK_GUARD
> 
>  hw/net/virtio-net.c | 7 ++-----
>  hw/virtio/vhost.c   | 4 +---
>  2 files changed, 3 insertions(+), 8 deletions(-)
> 
> -- 
> 2.23.0