Re: [Xen-devel] [PATCH v3] VT-d PI: track the vcpu number in pi blocking list

2017-06-21 Thread Jan Beulich
>>> On 22.06.17 at 07:16, wrote: > On Fri, Jun 16, 2017 at 08:34:20AM -0600, Jan Beulich wrote: > On 24.05.17 at 08:56, wrote: >>> --- a/xen/arch/x86/hvm/vmx/vmx.c >>> +++ b/xen/arch/x86/hvm/vmx/vmx.c >>> @@ -82,6 +82,7 @@ static int vmx_vmfunc_intercept(struct cpu_user_regs >>> *regs); >>>

Re: [Xen-devel] [PATCH v3] VT-d PI: track the vcpu number in pi blocking list

2017-06-21 Thread Chao Gao
On Fri, Jun 16, 2017 at 08:34:20AM -0600, Jan Beulich wrote: On 24.05.17 at 08:56, wrote: >> --- a/xen/arch/x86/hvm/vmx/vmx.c >> +++ b/xen/arch/x86/hvm/vmx/vmx.c >> @@ -82,6 +82,7 @@ static int vmx_vmfunc_intercept(struct cpu_user_regs >> *regs); >> struct vmx_pi_blocking_vcpu { >> str

Re: [Xen-devel] [PATCH v3] VT-d PI: track the vcpu number in pi blocking list

2017-06-16 Thread Jan Beulich
>>> On 24.05.17 at 08:56, wrote: > --- a/xen/arch/x86/hvm/vmx/vmx.c > +++ b/xen/arch/x86/hvm/vmx/vmx.c > @@ -82,6 +82,7 @@ static int vmx_vmfunc_intercept(struct cpu_user_regs *regs); > struct vmx_pi_blocking_vcpu { > struct list_head list; > spinlock_t lock; > +uint32

[Xen-devel] [PATCH v3] VT-d PI: track the vcpu number in pi blocking list

2017-05-23 Thread Chao Gao
This patch adds a field, counter, in struct vmx_pi_blocking_vcpu to track how many entries are on the pi blocking list. In order to analyze list operation frequence and obtain the list length, add some relevant events to xentrace and some associated code in xenalyze. As to xenalyze, for removing fr