diff options
author | Juergen Gross <juergen.gross@ts.fujitsu.com> | 2011-02-28 15:09:33 +0000 |
---|---|---|
committer | Juergen Gross <juergen.gross@ts.fujitsu.com> | 2011-02-28 15:09:33 +0000 |
commit | 2e13a886e5a82621bd916479ed192ed59eb05e72 (patch) | |
tree | a34fc79adf929b9787275197ea1a0a861a056189 /xen/Makefile | |
parent | 80ce9f75e5223dbfc95fcddb7139fc474043ca8e (diff) | |
download | xen-2e13a886e5a82621bd916479ed192ed59eb05e72.tar.gz xen-2e13a886e5a82621bd916479ed192ed59eb05e72.tar.bz2 xen-2e13a886e5a82621bd916479ed192ed59eb05e72.zip |
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: Jueregn Gross <juergen.gross@ts.fujitsu.com>
Diffstat (limited to 'xen/Makefile')
0 files changed, 0 insertions, 0 deletions