mbox series

[0/6] hw/accel: Use RCU_READ macros

Message ID 20240124074201.8239-1-philmd@linaro.org
Headers show
Series hw/accel: Use RCU_READ macros | expand

Message

Philippe Mathieu-Daudé Jan. 24, 2024, 7:41 a.m. UTC
Use RCU_READ_LOCK_GUARD and WITH_RCU_READ_LOCK_GUARD
to replace the manual rcu_read_(un)lock calls.

Philippe Mathieu-Daudé (6):
  accel/tcg/cpu-exec: Use RCU_READ macro
  hw/9pfs/9p-synth: Use RCU_READ macro
  hw/display/virtio-gpu-udmabuf: Use RCU_READ macro
  hw/scsi/virtio-scsi: Use RCU_READ macro
  hw/vfio/common: Use RCU_READ macros
  hw/virtio/vhost: Use RCU_READ macro

 accel/tcg/cpu-exec.c            | 24 +++++++++++------------
 hw/9pfs/9p-synth.c              | 24 +++++++++++------------
 hw/display/virtio-gpu-udmabuf.c |  6 +++---
 hw/scsi/virtio-scsi.c           | 12 ++++++------
 hw/vfio/common.c                | 34 ++++++++++++++++-----------------
 hw/virtio/vhost.c               |  6 +++---
 6 files changed, 52 insertions(+), 54 deletions(-)