public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Peng Zhang <zhangpeng.00@bytedance.com>
Cc: pbonzini@redhat.com, chao.p.peng@linux.intel.com,
	seanjc@google.com, Liam.Howlett@oracle.com, kvm@vger.kernel.org,
	linux-kernel@vger.kernel.org, maple-tree@lists.infradead.org
Subject: Re: [PATCH RFC] KVM: Use maple tree to manage memory attributes.
Date: Thu, 22 Aug 2024 16:59:18 +0100	[thread overview]
Message-ID: <ZsdgVoBxh9qe2Fjs@casper.infradead.org> (raw)
In-Reply-To: <20240822065544.65013-1-zhangpeng.00@bytedance.com>

On Thu, Aug 22, 2024 at 02:55:44PM +0800, Peng Zhang wrote:
> +	mt_init_flags(&kvm->mem_attr_mtree, MT_FLAGS_LOCK_EXTERN);

using an external lock is a HACK.  it should go away, not be mindlessly
propagated.

  parent reply	other threads:[~2024-08-22 15:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-22  6:55 [PATCH RFC] KVM: Use maple tree to manage memory attributes Peng Zhang
2024-08-22  7:30 ` Peng Zhang
2024-08-22 17:02   ` Liam R. Howlett
2024-08-22 15:59 ` Matthew Wilcox [this message]
2024-08-22 16:51 ` Sean Christopherson
2024-08-22 17:00 ` Liam R. Howlett

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=ZsdgVoBxh9qe2Fjs@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=Liam.Howlett@oracle.com \
    --cc=chao.p.peng@linux.intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maple-tree@lists.infradead.org \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    --cc=zhangpeng.00@bytedance.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