From: "Li,Rongqing" <lirongqing@baidu.com>
To: Sean Christopherson <seanjc@google.com>
Cc: "pbonzini@redhat.com" <pbonzini@redhat.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: 答复: [????] Re: [PATCH] KVM: Fix obsolete comment about locking for kvm_io_bus_read/write
Date: Tue, 29 Apr 2025 02:13:50 +0000 [thread overview]
Message-ID: <212c590c8538497795213dbebf08a600@baidu.com> (raw)
In-Reply-To: <aA_EY8CR2kxi3X5T@google.com>
>
> On Fri, Apr 18, 2025, Li RongQing wrote:
> > Nobody is actually calling these functions with slots_lock held.
> > The srcu read lock is required.
>
> I vote to delete the comments entirely, the srcu_dereference() precisely
> communicates both what is being protected, and what provides the protection.
Ok, I will resend this patch
Thank
-Li
prev parent reply other threads:[~2025-04-29 2:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-18 11:55 [PATCH] KVM: Fix obsolete comment about locking for kvm_io_bus_read/write Li RongQing
2025-04-28 18:09 ` Sean Christopherson
2025-04-29 2:13 ` Li,Rongqing [this message]
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=212c590c8538497795213dbebf08a600@baidu.com \
--to=lirongqing@baidu.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
/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