Re: [kvm-devel] [PATCH] Lazy FPU save/restore

2007-02-15 Thread Rusty Russell
On Thu, 2007-02-15 at 19:02 -0600, Anthony Liguori wrote: > My microbenchmark of choice uses FPU operations so I think the results > are currently tainted. I've only tested on a 32bit SVM system. So did you have that virtbench patch for me? 8) Rusty. -

[kvm-devel] [PATCH] Lazy FPU save/restore

2007-02-15 Thread Anthony Liguori
The following patch saves the host FPU state and loads the guests FPU state if !(CR0.MP == 1 && CR0.TS == 1). When CR0.MP == 1 && CR0.TS == 1, all FPU activity will generate exceptions. OS's use these exceptions to implement lazy FPU loading to improve context switch time. Since any FPU acti

Re: [kvm-devel] KVM 32bit support broken in SVN?

2007-02-15 Thread Avi Kivity
Anthony Liguori wrote: > I've been tracking down a rather strange SEGV in SVN. I'm on a 32bit > SVM system. I think people are seeing the same on 32bit VMX. > > Basically, we get to the first EINTR returned by kvm_run(). Everything > goes as expected until we get to cpu_loop_exit(). When we g

Re: [kvm-devel] KVM 32bit support broken in SVN?

2007-02-15 Thread Avi Kivity
Anthony Liguori wrote: > I've been tracking down a rather strange SEGV in SVN. I'm on a 32bit > SVM system. I think people are seeing the same on 32bit VMX. > > Basically, we get to the first EINTR returned by kvm_run(). Everything > goes as expected until we get to cpu_loop_exit(). When we g