Re: [Xen-devel] [PATCH] x86: remove an ASSERT to avoid crash when destroy a domain.

2017-08-06 Thread Yi Sun
On 17-08-06 03:34:20, Jan Beulich wrote: > >>> Yi Sun 08/05/17 3:42 AM >>> > >In 'psr_free_cos', we should not use 'ASSERT(socket_info)' because > >the 'socket_info' is allocated only if 'psr' boot parameter is set. > >So remove it and use 'psr_alloc_feat_enabled' to

Re: [Xen-devel] [PATCH] x86: remove an ASSERT to avoid crash when destroy a domain.

2017-08-06 Thread Jan Beulich
>>> Yi Sun 08/05/17 3:42 AM >>> >In 'psr_free_cos', we should not use 'ASSERT(socket_info)' because >the 'socket_info' is allocated only if 'psr' boot parameter is set. >So remove it and use 'psr_alloc_feat_enabled' to check if 'socket_info' >is valid or not to avoid

[Xen-devel] [PATCH] x86: remove an ASSERT to avoid crash when destroy a domain.

2017-08-04 Thread Yi Sun
In 'psr_free_cos', we should not use 'ASSERT(socket_info)' because the 'socket_info' is allocated only if 'psr' boot parameter is set. So remove it and use 'psr_alloc_feat_enabled' to check if 'socket_info' is valid or not to avoid crash. Signed-off-by: Yi Sun ---