diff options
author | Neel Natu <neel@FreeBSD.org> | 2012-10-25 04:29:21 +0000 |
---|---|---|
committer | Neel Natu <neel@FreeBSD.org> | 2012-10-25 04:29:21 +0000 |
commit | f76fc5d414cca9800385f735df4e572a81b54efe (patch) | |
tree | 09964a2b77c4a678ea6eb56ee5aa767935525f1f /lib/clang | |
parent | ff6ec151e0e5ce7a83df2c5350db640c296f5d3e (diff) | |
download | src-f76fc5d414cca9800385f735df4e572a81b54efe.tar.gz src-f76fc5d414cca9800385f735df4e572a81b54efe.zip |
If the guest vcpu wants to idle then use that opportunity to relinquish the
host cpu to the scheduler until the guest is ready to run again.
This implies that the host cpu utilization will now closely mirror the actual
load imposed by the guest vcpu.
Also, the vcpu mutex now needs to be of type MTX_SPIN since we need to acquire
it inside a critical section.
Obtained from: NetApp
Notes
Notes:
svn path=/projects/bhyve/; revision=242065
Diffstat (limited to 'lib/clang')
0 files changed, 0 insertions, 0 deletions