On 4/21/22 18:30, Ben Gardon wrote:
Completely agree. I'm surprised that ARM doesn't have a need for a
metadata structure associated with each page of the stage 2 paging
structure, but if you don't need it, that definitely makes things
simpler.

The uses of struct kvm_mmu_page in the TDP MMU are all relatively new, for the work_struct and the roots' reference count. sp->ptep is only used to in a very specific path, kvm_recover_nx_lpages.

I wouldn't be surprised if ARM grows more metadata later, but in fact it's not _that_ surprising that it doesn't need it yet!

Paolo

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to