RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-19 Thread Wu, Feng
.org > Subject: Re: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set > > > > On 19/12/2014 06:25, Zhang, Yang Z wrote: > > I see your point. But from performance point, if we can schedule the > > vCPU to another PCPU to handle the interrupt, it would he

Re: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-19 Thread Paolo Bonzini
On 19/12/2014 06:25, Zhang, Yang Z wrote: > I see your point. But from performance point, if we can schedule the > vCPU to another PCPU to handle the interrupt, it would helpful. But I > remember current KVM will not schedule the vCPU in run queue (even > though it got preempted) to another pCPU

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-12-19: > > > Zhang, Yang Z wrote on 2014-12-19: >> Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is >> set >> >> Wu, Feng wrote on 2014-12-19: >>> >>> >>> Zhang, Yang Z wrote on 2

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Wu, Feng
ress posted-interrupt when 'SN' is set > > Wu, Feng wrote on 2014-12-19: > > > > > > Zhang, Yang Z wrote on 2014-12-19: > >> Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is > >> set > >> > >> Wu, Feng

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-12-19: > > > Zhang, Yang Z wrote on 2014-12-19: >> Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is >> set >> >> Wu, Feng wrote on 2014-12-19: >>> >>> >>> Zhang, Yang Z wrote on 2

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Wu, Feng
ress posted-interrupt when 'SN' is set > > Wu, Feng wrote on 2014-12-19: > > > > > > Zhang, Yang Z wrote on 2014-12-19: > >> Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is > >> set > >> > >&

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-12-19: > > > Zhang, Yang Z wrote on 2014-12-19: >> Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is >> set >> >> Wu, Feng wrote on 2014-12-19: >>> >>> >>> iommu-boun...@l

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Wu, Feng
gt; dw...@infradead.org; > >>>>> joro-zlv9swrftaidnm+yrof...@public.gmane.org; Alex Williamson; > >>>>> joro-zLv9SwRftAIdnm+Jiang > >>>>> Liu > >>>>> Cc: io...@lists.linux-foundation.org; > >>>>> linux-ke

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Zhang, Yang Z
9SwRftAIdnm+Jiang >>>>> Liu >>>>> Cc: io...@lists.linux-foundation.org; >>>>> linux-kernel-u79uwxl29ty76z2rm5m...@public.gmane.org; KVM list; >>>>> Eric Auger >>>>> Subject: Re: [v3 25/26] KVM: Suppress posted-interru

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Wu, Feng
.org; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set > > Paolo Bonzini wrote on 2014-12-18: > > > > > > On 18/12/2014 04:14, Wu, Feng wrote: > >> > >&g

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Zhang, Yang Z
...@infradead.org; >>> joro-zlv9swrftaidnm+yrof...@public.gmane.org; Alex Williamson; >>> joro-zLv9SwRftAIdnm+Jiang >>> Liu >>> Cc: io...@lists.linux-foundation.org; >>> linux-kernel-u79uwxl29ty76z2rm5m...@public.gmane.org; KVM list; >>

Re: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Paolo Bonzini
.@public.gmane.org; KVM list; >> Eric Auger >> Subject: Re: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set >> >> >> >> On 12/12/2014 16:14, Feng Wu wrote: >>> Currently, we don't support urgent interrupt, all interrupts >>&g

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-17 Thread Wu, Feng
leb Natapov; Paolo Bonzini; dw...@infradead.org; j...@8bytes.org; Alex > Williamson; Jiang Liu > Cc: io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; KVM list; > Eric Auger > Subject: Re: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set > > > &g

Re: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-17 Thread Paolo Bonzini
On 12/12/2014 16:14, Feng Wu wrote: > Currently, we don't support urgent interrupt, all interrupts > are recognized as non-urgent interrupt, so we cannot send > posted-interrupt when 'SN' is set. Can this happen? If the vcpu is in guest mode, it cannot have been scheduled out, and that's the on