diff options
author | Wanpeng Li <wanpengli@tencent.com> | 2019-08-29 10:49:57 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-09-11 17:46:15 +0200 |
commit | 1328edca4a142ee3c7442d1eece2c3ca383eff35 (patch) | |
tree | 75a50d1d56f31a075fe7d1372a247f654a57a46d /init | |
parent | cpuidle-haltpoll: do not set an owner to allow modunload (diff) | |
download | linux-1328edca4a142ee3c7442d1eece2c3ca383eff35.tar.xz linux-1328edca4a142ee3c7442d1eece2c3ca383eff35.zip |
cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available
The downside of guest side polling is that polling is performed even
with other runnable tasks in the host. However, even if poll in kvm
can aware whether or not other runnable tasks in the same pCPU, it
can still incur extra overhead in over-subscribe scenario. Now we can
just enable guest polling when dedicated pCPUs are available.
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions