diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-08-22 17:46:01 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-22 14:37:02 -0500 |
commit | 200668ba0839e664f0e4d0bcdc55ab5a163a418a (patch) | |
tree | efbfbd177a8fd190bd292d6967b1661511269c0b /sysemu.h | |
parent | 6e23063c469c0d90d14b376a696d87149e2a1aa4 (diff) | |
download | qemu-200668ba0839e664f0e4d0bcdc55ab5a163a418a.zip qemu-200668ba0839e664f0e4d0bcdc55ab5a163a418a.tar.gz qemu-200668ba0839e664f0e4d0bcdc55ab5a163a418a.tar.bz2 |
Do not drop global mutex for polled main loop runs
If we call select without a timeout, it's more efficient to keep the
global mutex locked as we may otherwise just play ping pong with a
vcpu thread contending for it. This is particularly important for TCG
mode where we run in lock-step with the vcpu thread.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'sysemu.h')
0 files changed, 0 insertions, 0 deletions