From: Richard Henderson <richard.henderson@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Mattias Nissler" <mnissler@rivosinc.com>,
qemu-devel@nongnu.org
Cc: David Hildenbrand <david@redhat.com>,
Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,
Peter Xu <peterx@redhat.com>,
john.levon@nutanix.com,
Jonathan Cameron <Jonathan.Cameron@huawei.com>,
Elena Ufimtseva <elena.ufimtseva@oracle.com>,
Paolo Bonzini <pbonzini@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [PATCH 1/3] system/physmem: Replace qemu_mutex_lock() calls with QEMU_LOCK_GUARD
Date: Tue, 7 May 2024 09:37:46 -0700 [thread overview]
Message-ID: <865d24bc-c89d-4743-9c80-75d9289f0ff9@linaro.org> (raw)
In-Reply-To: <20240507123025.93391-2-philmd@linaro.org>
On 5/7/24 05:30, Philippe Mathieu-Daudé wrote:
> Simplify cpu_[un]register_map_client() and cpu_notify_map_clients()
> by replacing the pair of qemu_mutex_lock/qemu_mutex_unlock calls by
> the WITH_QEMU_LOCK_GUARD() macro.
>
> Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
> ---
> system/physmem.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
next prev parent reply other threads:[~2024-05-07 16:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-07 12:30 [PATCH 0/3] system/physmem: Propagate AddressSpace to MapClient helpers Philippe Mathieu-Daudé
2024-05-07 12:30 ` [PATCH 1/3] system/physmem: Replace qemu_mutex_lock() calls with QEMU_LOCK_GUARD Philippe Mathieu-Daudé
2024-05-07 16:37 ` Richard Henderson [this message]
2024-05-07 12:30 ` [PATCH 2/3] system/physmem: Propagate AddressSpace to MapClient helpers Philippe Mathieu-Daudé
2024-05-07 12:30 ` [PATCH 3/3] system/physmem: Per-AddressSpace bounce buffering Philippe Mathieu-Daudé
2024-05-07 12:38 ` Philippe Mathieu-Daudé
2024-05-07 12:47 ` [PATCH 0/3] system/physmem: Propagate AddressSpace to MapClient helpers Mattias Nissler
2024-05-07 14:02 ` Philippe Mathieu-Daudé
2024-05-07 14:10 ` Mattias Nissler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=865d24bc-c89d-4743-9c80-75d9289f0ff9@linaro.org \
--to=richard.henderson@linaro.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=david@redhat.com \
--cc=elena.ufimtseva@oracle.com \
--cc=john.levon@nutanix.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=mnissler@rivosinc.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterx@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).