[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 2/2] lockable: replaced locks with lock guard macros where
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v4 2/2] lockable: replaced locks with lock guard macros where appropriate |
Date: |
Mon, 23 Mar 2020 13:26:05 +0000 |
On Fri, Mar 20, 2020 at 05:31:37AM -0700, 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 ++---
> 15 files changed, 83 insertions(+), 106 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- [PATCH v4 0/2] Replaced locks with lock guard macros, dnbrdsky, 2020/03/20
- [PATCH v4 1/2] lockable: fix __COUNTER__ macro to be referenced properly, dnbrdsky, 2020/03/20
- [PATCH v4 2/2] lockable: replaced locks with lock guard macros where appropriate, dnbrdsky, 2020/03/20
- Re: [PATCH v4 2/2] lockable: replaced locks with lock guard macros where appropriate,
Stefan Hajnoczi <=
- Re: [PATCH v4 0/2] Replaced locks with lock guard macros, no-reply, 2020/03/20
- Re: [PATCH v4 0/2] Replaced locks with lock guard macros, Stefan Hajnoczi, 2020/03/23
- Re: [PATCH v4 0/2] Replaced locks with lock guard macros, Daniel Brodsky, 2020/03/23
- Re: [PATCH v4 0/2] Replaced locks with lock guard macros, Richard Henderson, 2020/03/23
- Re: [PATCH v4 0/2] Replaced locks with lock guard macros, Eric Blake, 2020/03/24
- Re: [PATCH v4 0/2] Replaced locks with lock guard macros, Daniel Brodsky, 2020/03/25
- Re: [PATCH v4 0/2] Replaced locks with lock guard macros, Richard Henderson, 2020/03/26
- Re: [PATCH v4 0/2] Replaced locks with lock guard macros, Daniel Brodsky, 2020/03/28
- Re: [PATCH v4 0/2] Replaced locks with lock guard macros, Richard Henderson, 2020/03/28
- Re: [PATCH v4 0/2] Replaced locks with lock guard macros, Daniel Brodsky, 2020/03/30