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

Oliver Upton oliver.upton at linux.dev
Tue Nov 15 23:27:27 PST 2022


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



More information about the linux-arm-kernel mailing list