[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 2/2] lockable: replaced locks with lock guard macros where
From: |
Daniel Brodsky |
Subject: |
Re: [PATCH v5 2/2] lockable: replaced locks with lock guard macros where appropriate |
Date: |
Sat, 11 Apr 2020 04:19:06 -0700 |
On Fri, Apr 3, 2020 at 9:21 PM <address@hidden> wrote:
>
> From: Daniel Brodsky <address@hidden>
>
> - ran regexp "qemu_mutex_lock\(.*\).*\n.*if" to find targets
> - replaced result with QEMU_LOCK_GUARD if all unlocks at function end
> - replaced result with WITH_QEMU_LOCK_GUARD if unlock not at end
>
> Signed-off-by: Daniel Brodsky <address@hidden>
> ---
> block/iscsi.c | 7 ++----
> block/nfs.c | 51 ++++++++++++++++++++-----------------------
> cpus-common.c | 14 +++++-------
> hw/display/qxl.c | 43 +++++++++++++++++-------------------
> hw/vfio/platform.c | 5 ++---
> migration/migration.c | 3 +--
> migration/multifd.c | 8 +++----
> migration/ram.c | 3 +--
> monitor/misc.c | 4 +---
> ui/spice-display.c | 14 ++++++------
> util/log.c | 4 ++--
> util/qemu-timer.c | 17 +++++++--------
> util/rcu.c | 8 +++----
> util/thread-pool.c | 3 +--
> util/vfio-helpers.c | 5 ++---
Just making sure this patch didn't get lost.
ping http://patchwork.ozlabs.org/patch/1266336/
Re: [PATCH v5 0/2] Replaced locks with lock guard macros, Stefan Hajnoczi, 2020/04/24