>>> On 21.09.16 at 17:30, <tamas.leng...@zentific.com> wrote:
> What I'm saying is that the guest OS should be in charge of managing
> its own TLB when VPID is in use. Whether it does flush the TLB or not
> is not of our concern. If it's a sane OS it will likely flush when it
> needs to, but we should not be jumping in and doing it as we do right
> now. We are actually breaking the architectural behavior by forcing a
> flush, MOV-TO-CR3 doesn't by itself flush the TLB on real hardware.
I continue to not understand where you take this from. Writes to
CR3 have always been doing TLB flushes - full ones prior to the
introduction of global pages, and flushes of only non-global entries
nowadays. In fact prior to the introduction of INVLPG and CR4
there was no other way to flush TLBs.
Xen-devel mailing list