Re: [PATCH v4] xen: avoid crash in disable_hotplug_cpu

From: Juergen Gross
Date: Tue Sep 11 2018 - 03:55:12 EST


On 11/09/18 09:52, Olaf Hering wrote:
> Am Fri, 7 Sep 2018 12:56:37 -0400
> schrieb Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>:
>
>> I was hoping you'd respond to my question about warning.
>
> It looks like CONFIG_BOOTPARAM_HOTPLUG_CPU0=y is the reason for the warning.
> As JÃrgen suggested in another mail, Xen should probably disable hotplugging
> for cpu#0 in the generic setup code. Then cpu_is_hotpluggable(cpu) would
> do the right thing.
>
> Do you want me to merge that extra change into this patch?

I think an extra patch would be better, as it is a different issue.


Juergen