Re: [PATCH v4 4/6] KVM: MMU: prefetch ptes when intercepted guest #PF

From: Marcelo Tosatti
Date: Mon Jul 05 2010 - 08:01:44 EST


On Sat, Jul 03, 2010 at 04:08:42PM +0800, Xiao Guangrong wrote:
>
>
> Marcelo Tosatti wrote:
>
> >> +
> >> + if (is_rsvd_bits_set(vcpu, gpte, PT_PAGE_TABLE_LEVEL))
> >> + break;
> >
> > BTW, doesnt sync_page also lack reserved bit checking? (unrelated to
> > this patch).
> >
>
> I think it's not since if EPT is enabled, no unsync page exist, the sync page
> path can't be trigged. :-)

What i mean is, why the sync_page path does not require reserved bit
checking? (EPT disabled).

Just to clarify, this has nothing to do with your patch.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/