|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Avoid possible live-lock in vcpu_migrate
If vcpu_migrate is called for two vcpus active on different cpus resulting in
swapping the cpus, a live-lock could occur as both instances try to take the
scheduling lock of the physical cpus in opposite order.
To avoid this problem the locks are always taken in the same order (sorted by
the address of the lock).
Signed-off-by: juergen.gross@xxxxxxxxxxxxxx
1 file changed, 43 insertions(+), 27 deletions(-)
xen/common/schedule.c | 70 ++++++++++++++++++++++++++++++-------------------
xen-work.patch
Description: Text Data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Avoid possible live-lock in vcpu_migrate,
Juergen Gross <=
|
|
|
|
|