On 11/10/2015 3:18 AM, Christoffer Dall wrote: > On Mon, Nov 09, 2015 at 03:13:15PM -0800, Mario Smarduch wrote: >> >> >> On 11/5/2015 7:02 AM, Christoffer Dall wrote: >>> On Fri, Oct 30, 2015 at 02:56:33PM -0700, Mario Smarduch wrote: [....] >> kern_hyp_va x0 >> add x2, x0, #VCPU_CONTEXT >> mrs x1, fpexec32_el2 >> str x1, [x2, #CPU_SYSREG_OFFSET(FPEXC32_EL2)] >> ret >> >> Of course each hyp call has additional overhead, at a high exit to >> vcpu_put ratio hyp call appears better. But all this is very >> highly dependent on exit rate and fp/simd usage. IMO hyp call >> works better under extreme loads should be pretty close >> for general loads. >> >> Any thoughts? >> > I think the typical case will be lots of exits and few > vcpu_load/vcpu_put, and I think it's reasonable to write the code that > way.
Yes, especially for RT guests where vCPU is pinned. Thanks. > > That should also be much better for VHE. > > So I would go that direction. > > Thanks, > -Christoffer > -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html