Re: [PATCH 3/3] Eliminate read_cr3 on TLB flush

Nakajima, Jun
2007-05-30T20:40:07Z

Anthony Liguori wrote:
> Nakajima, Jun wrote:

<snip>

> > For KVM, it should be okay as well. But we can replace two CR4
accesses
> > with just one hypercall.
> >
>
> I was thinking the same thing :-)
>
> I was actually thinking about adding a hypercall to set/clear a bit in
a
> control register. The thought here is that it would be useful not
just
> for the global bit but also for CR0.TS although we would need another
> paravirt_op hook for stts.

Given the optimizations for CPU virtualization in the current H/W, I'm
not sure if such hooks are useful. Do you have any performance data that
justify such hooks?

>
> Regards,
>
> Anthony Liguori
>

Jun
---
Intel Open Source Technology Center