Re: [patch V4 part 2 13/18] x86/kvm: Move context tracking where it belongs

2020-05-09 Thread Thomas Gleixner
Andy Lutomirski writes: > On Tue, May 5, 2020 at 7:14 AM Thomas Gleixner wrote: >> >> Context tracking for KVM happens way too early in the vcpu_run() >> code. Anything after guest_enter_irqoff() and before guest_exit_irqoff() >> cannot use RCU and should also be not instrumented. >> >> The curre

Re: [patch V4 part 2 13/18] x86/kvm: Move context tracking where it belongs

2020-05-08 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:14 AM Thomas Gleixner wrote: > > Context tracking for KVM happens way too early in the vcpu_run() > code. Anything after guest_enter_irqoff() and before guest_exit_irqoff() > cannot use RCU and should also be not instrumented. > > The current way of doing this covers way t

Re: [patch V4 part 2 13/18] x86/kvm: Move context tracking where it belongs

2020-05-06 Thread Paolo Bonzini
On 05/05/20 15:41, Thomas Gleixner wrote: > Context tracking for KVM happens way too early in the vcpu_run() > code. Anything after guest_enter_irqoff() and before guest_exit_irqoff() > cannot use RCU and should also be not instrumented. > > The current way of doing this covers way too much code.