paravirt: allow NO_HZ, remove NO_IDLE_HZ dependency
PATCH 1/1 paravirt: allow NO_HZ, remove NO_IDLE_HZ dependency
Subject: [patch] paravirt: remove NO_IDLE_HZ dependency
From: Ingo Molnar <[email protected]>
PARAVIRT forces CONFIG_NO_HZ off - this is bad and prevents sane paravirtual guests like KVM from being able to use dynticks-enabled Linux guests. Remove this. Vmi-timer needs to be updated properly to make use of dynticks.
furthermore, remove the mistaken turning on of NO_IDLE_HZ on x86+PARAVIRT kernels, it's an obsolete, limited form of dynticks.
must-have for v2.6.21.
--- arch/i386/Kconfig | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-)
arch/i386/Kconfig +1 -10
@@ -224,7 +224,7 @@ config PARAVIRT config VMI bool "VMI Paravirt-ops support" - depends on PARAVIRT && !NO_HZ + depends on PARAVIRT default y help VMI provides a paravirtualized interface to multiple hypervisors
@@ -1291,12 +1291,3 @@ config X86_TRAMPOLINE config KTIME_SCALAR bool default y - -config NO_IDLE_HZ - bool - depends on PARAVIRT - default y - help - Switches the regular HZ timer off when the system is going idle. - This helps a hypervisor detect that the Linux system is idle, - reducing the overhead of idle systems.
Quoted 8 lines · Ingo Molnar
Subject: [patch] paravirt: remove
NO_IDLE_HZdependency
From: Ingo Molnar <[email protected]>PARAVIRT forces
CONFIG_NO_HZoff - this is bad and prevents sane paravirtual guests like KVM from being able to use dynticks-enabled Linux guests. Remove this. Vmi-timer needs to be updated properly to make use of dynticks.
Quoted 6 lines
furthermore, remove the mistaken turning on of
NO_IDLE_HZon x86+PARAVIRT kernels, it's an obsolete, limited form of dynticks.must-have for v2.6.21.
Signed-off-by Ingo Molnar <[email protected]>
Quoted 30 lines
--- arch/i386/Kconfig | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-)Index: linux/arch/i386/Kconfig
===================================================================arch/i386/Kconfig +1
-10@@ -224,7 +224,7 @@ config PARAVIRT config VMI bool "VMI Paravirt-ops support" - depends on PARAVIRT && !NO_HZ + depends on PARAVIRT default y help VMI provides a paravirtualized interface to multiple hypervisors@@ -1291,12 +1291,3 @@ config X86_TRAMPOLINE config KTIME_SCALAR bool default y - -config NO_IDLE_HZ - bool - depends on PARAVIRT - default y - help - Switches the regular HZ timer off when the system is going idle. - This helps a hypervisor detect that the Linux system is idle, - reducing the overhead of idle systems.