Re: [Xen-devel] [PATCH 6/6] xen/sched: don't disable scheduler on cpus during suspend

2019-03-27 Thread Juergen Gross
On 28/03/2019 00:10, Dario Faggioli wrote: > On Mon, 2019-03-18 at 14:11 +0100, Juergen Gross wrote: >> Today there is special handling in cpu_disable_scheduler() for >> suspend >> by forcing all vcpus to the boot cpu. In fact there is no need for >> that >> as during resume the vcpus are put on th

Re: [Xen-devel] [PATCH 6/6] xen/sched: don't disable scheduler on cpus during suspend

2019-03-27 Thread Dario Faggioli
On Mon, 2019-03-18 at 14:11 +0100, Juergen Gross wrote: > Today there is special handling in cpu_disable_scheduler() for > suspend > by forcing all vcpus to the boot cpu. In fact there is no need for > that > as during resume the vcpus are put on the correct cpus again. > > So we can just omit the

[Xen-devel] [PATCH 6/6] xen/sched: don't disable scheduler on cpus during suspend

2019-03-18 Thread Juergen Gross
Today there is special handling in cpu_disable_scheduler() for suspend by forcing all vcpus to the boot cpu. In fact there is no need for that as during resume the vcpus are put on the correct cpus again. So we can just omit the call of cpu_disable_scheduler() when offlining a cpu due to suspend a