lkml.org 
[lkml]   [2018]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4] xen: avoid crash in disable_hotplug_cpu
Am Tue, 11 Sep 2018 09:52:58 +0200
schrieb Olaf Hering <olaf@aepfle.de>:

> 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.

Olaf
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-09-11 12:48    [W:0.194 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site