On 14/10/19 18:58, Vitaly Kuznetsov wrote:
Xiaoyao Li <xiaoyao.li@xxxxxxxxx> writes:
They are duplicated codes to create vcpu.arch.{user,guest}_fpu in VMXWould it rather make sense to move this code to
and SVM. Make them common functions.
No functional change intended.
kvm_arch_vcpu_create()/kvm_arch_vcpu_destroy() instead?
user_fpu could be made percpu too... That would save a bit of memory
for each vCPU. I'm holding on Xiaoyao's patch because a lot of the code
he's touching would go away then.
Paolo