diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2019-07-04 01:51:25 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-07-30 17:27:37 +0200 |
commit | fa86ee90eb1111267de67cb4272b5ce711f18cbb (patch) | |
tree | 8b1ff641cdd151090eca3cad29e80e3e2c2eefe4 /drivers/cpuidle/Kconfig | |
parent | Linux 5.3-rc2 (diff) | |
download | linux-fa86ee90eb1111267de67cb4272b5ce711f18cbb.tar.xz linux-fa86ee90eb1111267de67cb4272b5ce711f18cbb.zip |
add cpuidle-haltpoll driver
Add a cpuidle driver that calls the architecture default_idle routine.
To be used in conjunction with the haltpoll governor.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/Kconfig')
-rw-r--r-- | drivers/cpuidle/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig index a4ac31e4a58c..cc8efc56be7d 100644 --- a/drivers/cpuidle/Kconfig +++ b/drivers/cpuidle/Kconfig @@ -51,6 +51,15 @@ depends on PPC source "drivers/cpuidle/Kconfig.powerpc" endmenu +config HALTPOLL_CPUIDLE + tristate "Halt poll cpuidle driver" + depends on X86 && KVM_GUEST + default y + help + This option enables halt poll cpuidle driver, which allows to poll + before halting in the guest (more efficient than polling in the + host via halt_poll_ns for some scenarios). + endif config ARCH_NEEDS_CPU_IDLE_COUPLED |