]> bbs.cooldavid.org Git - net-next-2.6.git/commit
KVM: cpu_relax() during spin waiting for reboot
authorAvi Kivity <avi@redhat.com>
Tue, 21 Sep 2010 17:59:44 +0000 (19:59 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:53:03 +0000 (10:53 +0200)
commit624d84cfe63b5afdd087bf5b2075a8a8cac5c83f
tree49b3e2ac87797d2fe852251570e7e2b5e3765db8
parent49e9d557f9b6e9639390b63b645f2def8dde5f1b
KVM: cpu_relax() during spin waiting for reboot

It doesn't really matter, but if we spin, we should spin in a more relaxed
manner.  This way, if something goes wrong at least it won't contribute to
global warming.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/kvm_main.c