[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Avoid race when moving cpu between cpupools
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. Hot-unplugging of physical cpus might encounter the same problems, but this should happen only very rarely. Signed-off-by: juergen.gross@xxxxxxxxxxxxxx 2 files changed, 35 insertions(+), 7 deletions(-) xen/common/sched_credit.c | 3 ++- xen/common/schedule.c | 39 +++++++++++++++++++++++++++++++++------ Attachment:
xen-work.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |