Re: [Xen-devel] [patch V2 49/67] arm/xen: Convert to hotplug state machine

2016-07-13 Thread Stefano Stabellini
On Wed, 13 Jul 2016, Anna-Maria Gleixner wrote: > From: Richard Cochran > > Install the callbacks via the state machine and let the core invoke > the callbacks on the already online CPUs. > > The get_cpu() in xen_starting_cpu() boils down to preempt_disable() since > we already know the CPU we r

[Xen-devel] [patch V2 49/67] arm/xen: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
From: Richard Cochran Install the callbacks via the state machine and let the core invoke the callbacks on the already online CPUs. The get_cpu() in xen_starting_cpu() boils down to preempt_disable() since we already know the CPU we run on. Disabling preemption shouldn't be required here from wh