Re: [Xen-devel] [PATCH] x86/vpmu: add cpu hot unplug notifier for vpmu

2017-05-17 Thread Jan Beulich
>>> On 17.05.17 at 16:32, wrote: > On 05/17/2017 10:09 AM, Jan Beulich wrote: > On 17.05.17 at 15:58, wrote: >>> On 05/17/2017 08:54 AM, Jan Beulich wrote: >>> On 17.05.17 at 14:40, wrote: > On 16.05.17 at 19:29, wrote: >>> Currently, hot unplug a cpu with vpmu enabled may c

Re: [Xen-devel] [PATCH] x86/vpmu: add cpu hot unplug notifier for vpmu

2017-05-17 Thread Boris Ostrovsky
On 05/17/2017 10:09 AM, Jan Beulich wrote: On 17.05.17 at 15:58, wrote: >> On 05/17/2017 08:54 AM, Jan Beulich wrote: >> On 17.05.17 at 14:40, wrote: On 16.05.17 at 19:29, wrote: >> Currently, hot unplug a cpu with vpmu enabled may cause system hang >> due to send IPI t

Re: [Xen-devel] [PATCH] x86/vpmu: add cpu hot unplug notifier for vpmu

2017-05-17 Thread Jan Beulich
>>> On 17.05.17 at 15:58, wrote: > On 05/17/2017 08:54 AM, Jan Beulich wrote: > On 17.05.17 at 14:40, wrote: >>> On 16.05.17 at 19:29, wrote: > Currently, hot unplug a cpu with vpmu enabled may cause system hang > due to send IPI to a die physical cpu. This patch add a cpu hot un

Re: [Xen-devel] [PATCH] x86/vpmu: add cpu hot unplug notifier for vpmu

2017-05-17 Thread Boris Ostrovsky
On 05/17/2017 08:54 AM, Jan Beulich wrote: On 17.05.17 at 14:40, wrote: >> On 16.05.17 at 19:29, wrote: Currently, hot unplug a cpu with vpmu enabled may cause system hang due to send IPI to a die physical cpu. This patch add a cpu hot unplug notifer to save vpmu context b

Re: [Xen-devel] [PATCH] x86/vpmu: add cpu hot unplug notifier for vpmu

2017-05-17 Thread Jan Beulich
>>> On 17.05.17 at 14:40, wrote: >> >>> On 16.05.17 at 19:29, wrote: >> > Currently, hot unplug a cpu with vpmu enabled may cause system hang >> > due to send IPI to a die physical cpu. This patch add a cpu hot unplug >> > notifer to save vpmu context before cpu offline. >> > >> > Consider one sc

Re: [Xen-devel] [PATCH] x86/vpmu: add cpu hot unplug notifier for vpmu

2017-05-17 Thread Kang, Luwei
> >>> On 16.05.17 at 19:29, wrote: > > Currently, hot unplug a cpu with vpmu enabled may cause system hang > > due to send IPI to a die physical cpu. This patch add a cpu hot unplug > > notifer to save vpmu context before cpu offline. > > > > Consider one scene, hotplug physical cpu N with vpmu is

Re: [Xen-devel] [PATCH] x86/vpmu: add cpu hot unplug notifier for vpmu

2017-05-17 Thread Jan Beulich
>>> On 16.05.17 at 19:29, wrote: > Currently, hot unplug a cpu with vpmu enabled may cause system > hang due to send IPI to a die physical cpu. This patch add a > cpu hot unplug notifer to save vpmu context before cpu offline. > > Consider one scene, hotplug physical cpu N with vpmu is enabled.

[Xen-devel] [PATCH] x86/vpmu: add cpu hot unplug notifier for vpmu

2017-05-17 Thread Luwei Kang
Currently, hot unplug a cpu with vpmu enabled may cause system hang due to send IPI to a die physical cpu. This patch add a cpu hot unplug notifer to save vpmu context before cpu offline. Consider one scene, hotplug physical cpu N with vpmu is enabled. The vcpu which running on this physical cpu b