Re: [PATCH 00/23] KVM: MMU: MMU role refactoring

From: David Matlack
Date: Mon Feb 14 2022 - 13:14:53 EST


On Wed, Feb 9, 2022 at 2:31 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
> On Fri, Feb 04, 2022, Paolo Bonzini wrote:
> > KVM: MMU: replace direct_map with mmu_role.direct
>
> Heresy! Everyone knows the one true way is "KVM: x86/mmu:"
>
> $ glo | grep "KVM: MMU:" | wc -l
> 740
> $ glo | grep "KVM: x86/mmu:" | wc -l
> 403
>
> Dammit, I'm the heathen...
>
> I do think we should use x86/mmu though. VMX and SVM (and nVMX and nSVM) are ok
> because they're unlikely to collide with other architectures, but every arch has
> an MMU...

Can you document these rules/preferences somewhere? Even better if we
can enforce them with checkpatch :)