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

From: Matthew Wilcox
Date: Thu Aug 22 2024 - 11:59:37 EST


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.