diff options
author | Keir Fraser <keir@xen.org> | 2011-11-24 15:49:25 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-11-24 15:49:25 +0000 |
commit | 9333781f509b67bf5c08a790664a660bab3dc819 (patch) | |
tree | 5631889cbfa93aadb3c9dc7448ebd578801622b6 /install.sh | |
parent | 7d798b7c997fe7631431275371d134ae3e926be7 (diff) | |
download | xen-9333781f509b67bf5c08a790664a660bab3dc819.tar.gz xen-9333781f509b67bf5c08a790664a660bab3dc819.tar.bz2 xen-9333781f509b67bf5c08a790664a660bab3dc819.zip |
waitqueue: Reorder prepare_to_wait() so that vcpu is definitely on the
queue on exit, even after a wakeup.
Otherwise, when we go round the loop in wait_event(), we may not
actually sleep after the first iteration, as we do not put ourselves
back on the queue on wakeup.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'install.sh')
0 files changed, 0 insertions, 0 deletions