Hi all,
Here's v2 of this series. v1 is here:
http://lists.xen.org/archives/html/xen-devel/2015-07/msg00647.html
As a quick recap, this is aimed at avoiding an host crash during shutdown or
suspension, it in the following cases:
- when the boot cpu (i.e., most of the times, cpu 0) is not assigned to any
cpupool,
- when a (non default) cpupool only has one cpu (and that is not the boot
cpu).
v1 was bigger, because of some preparatory/mechanical chages, which have been
applied already, so here's what remains.
Patch 2 is fully acked. Patch 1 won Juergen's ack, during v1, but I'm avoiding
sticking it there, as it changed a little bit, while addressing George's
comments.
Best Regards,
Dario
---
Dario Faggioli (2):
xen: sched: reorganize cpu_disable_scheduler()
xen: sched/cpupool: properly update affinity when removing a cpu from a
cpupool
xen/common/cpupool.c | 18 ++++++++
xen/common/schedule.c | 109 +++++++++++++++++++++++++++++++++++++++++--------
2 files changed, 110 insertions(+), 17 deletions(-)
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel