[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Avoid race when moving cpu between cpupools



Juergen Gross wrote:
Moving cpus between cpupools is done under the schedule lock of the moved cpu.
When checking a cpu being member of a cpupool this must be done with the lock
of that cpu being held.

I have reviewed and tested the patch. It fixes my problem. My script has been running for several hundred iterations without any Xen crash, whereas without the patch the hypervisor crashed mostly at the second iteration.

Thanks Juergen and George for the persistent work!

Hot-unplugging of physical cpus might encounter the same problems, but this
should happen only very rarely.

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx

Acked-by: Andre Przywara <andre.przywara@xxxxxxx>

Keir, please apply for 4.1.0.


Regards,
Andre.

--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.