Re: [PATCH 3/5] KVM: Add paravirt MMU write support

Anthony Liguori
2007-06-19T21:57:06Z

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?