Re: [PATCH v2] KVM: arm64: Don't acquire RCU read lock for exclusive table walks

From: Oliver Upton
Date: Wed Nov 16 2022 - 02:27:38 EST


On Wed, Nov 16, 2022 at 03:08:49AM +0000, Marc Zyngier wrote:
> I'm not crazy about this sort of parameters. I think it would make a
> lot more sense to pass a pointer to the walker structure and do the
> flag check inside the helper.
>
> That way, we avoid extra churn if/when we need extra state or
> bookkeeping around the walk.

Sure, let's go that way instead. v3 on the way lol :)

--
Thanks,
Oliver