[PATCH RFC] KVM: Use maple tree to manage memory attributes.

Matthew Wilcox willy at infradead.org
Thu Aug 22 08:59:18 PDT 2024


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.



More information about the maple-tree mailing list