Avi Kivity wrote:
+static void kvm_pte_clear(struct mm_struct *mm,
+              unsigned long addr, pte_t *ptep)
+{
+    pte_t pte = {0};

Surely there's a nice macro for creating a pte from an int?
Perhaps my grep'ing skills are weak, but I don't seem to see any. Were you thinking of something in particular?

Regards,

Anthony Liguori

Any performance measurement?


_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/virtualization

Reply via email to