Re: [PATCH v2] kvm: reuse per-vcpu stats fd to avoid vcpu interruption

2023-06-18 Thread Paolo Bonzini
On 6/18/23 01:00, Philippe Mathieu-Daudé wrote:   case STATS_TARGET_VCPU:   add_stats_entry(result, STATS_PROVIDER_KVM, -    current_cpu->parent_obj.canonical_path, +    cpu->parent_obj.canonical_path, Can we get a NULL deref here ...   

Re: [PATCH v2] kvm: reuse per-vcpu stats fd to avoid vcpu interruption

2023-06-17 Thread Philippe Mathieu-Daudé
Hi Marcelo, On 16/6/23 19:44, Marcelo Tosatti wrote: A regression has been detected in latency testing of KVM guests. More specifically, it was observed that the cyclictest numbers inside of an isolated vcpu (running on isolated pcpu) are: # Max Lat

[PATCH v2] kvm: reuse per-vcpu stats fd to avoid vcpu interruption

2023-06-17 Thread Marcelo Tosatti
A regression has been detected in latency testing of KVM guests. More specifically, it was observed that the cyclictest numbers inside of an isolated vcpu (running on isolated pcpu) are: # Max Latencies: 00090 00096 00141 Where a maximum of