Re: [PATCH v4] xen: avoid crash in disable_hotplug_cpu
From: Juergen Gross
Date: Tue Sep 11 2018 - 06:51:28 EST
On 11/09/18 12:48, Olaf Hering wrote:
> Am Tue, 11 Sep 2018 09:52:58 +0200
> schrieb Olaf Hering <olaf@xxxxxxxxx>:
>
>> 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.
>
> The relevant code is all private to arch/x86/kernel/topology.c.
> There is no way to set .hotpluggable prior to register_cpu.
> I guess you need to work that out with the x86 maintainers.
Okay, I'll do that.
Juergen