make CONFIG_PARAVIRT require NO_HZ
PATCH 1/1 make CONFIG_PARAVIRT require NO_HZ
Given all the discussion, let's just require NO_HZ when CONFIG_PARAVIRT. Anyone object?
---
arch/i386/Kconfig +1 -1
@@ -208,7 +208,7 @@ endchoice config PARAVIRT bool "Paravirtualization support (EXPERIMENTAL)" - depends on EXPERIMENTAL + depends on EXPERIMENTAL && NO_HZ depends on !(X86_VISWS || X86_VOYAGER) help Paravirtualization is a way of running multiple instances of
Quoted 10 lines · Chris Wright
Given all the discussion, let's just require
NO_HZwhenCONFIG_PARAVIRT. Anyone object?Signed-off-by Chris Wright <[email protected]>---
arch/i386/Kconfig endchoice · line 214
Quoted 8 lines
arch/i386/Kconfig +1
-1@@ -208,7 +208,7 @@ endchoice config PARAVIRT bool "Paravirtualization support (EXPERIMENTAL)" - depends on EXPERIMENTAL + depends on EXPERIMENTAL && NO_HZ depends on !(X86_VISWS || X86_VOYAGER) help Paravirtualization is a way of running multiple instances of
Thanks Chris!
Sorry, I got excited.
Zach
Quoted 2 lines · Chris Wright
Given all the discussion, let's just require
NO_HZwhenCONFIG_PARAVIRT. Anyone object?
well ... why do we want this? I'd not mind making it default y if CONFIG_PARAVIRT is enabled, but why force it?
Ingo
Quoted 6 lines · Ingo Molnar
Quoted 2 lines · Chris Wright
Given all the discussion, let's just require
NO_HZwhenCONFIG_PARAVIRT. Anyone object?well ... why do we want this? I'd not mind making it default y if
CONFIG_PARAVIRTis enabled, but why force it?
I guess because they don't want to debug and maintain two different timer code paths. It would be fine for me. !NOHZ will hopefully go away at some point anyways and it clearly is important for virtualized environments.
Although I would prefer a select instead of a depends I think. Otherwise the relationship will be quite unobvious.
-Andi
Quoted 2 lines · Andi Kleen
Although I would prefer a select instead of a depends I think. Otherwise the relationship will be quite unobvious.
yep.
Ingo
Quoted 11 lines · * Andi Kleen ([email protected]) wrote:
Quoted 6 lines · Ingo Molnar
Quoted 2 lines · Chris Wright
Given all the discussion, let's just require
NO_HZwhenCONFIG_PARAVIRT. Anyone object?well ... why do we want this? I'd not mind making it default y if
CONFIG_PARAVIRTis enabled, but why force it?I guess because they don't want to debug and maintain two different timer code paths. It would be fine for me. !NOHZ will hopefully go away at some point anyways and it clearly is important for virtualized environments.
Yes, esp. considering the NO_IDLE_HZ problem.
Quoted 2 lines
Although I would prefer a select instead of a depends I think. Otherwise the relationship will be quite unobvious.
I thought about that, NO_HZ is still a user-visible feature rather than smth like library support. That's typically been the dividing line for depends vs. select.
thanks,
-chris
Quoted 9 lines · On Thu, 15 Mar 2007 22:47:46 -0700 Chris Wright <[email protected]> wrote:
Given all the discussion, let's just require
NO_HZwhenCONFIG_PARAVIRT. Anyone object?Signed-off-by Chris Wright <[email protected]>---
arch/i386/Kconfig endchoice · line 214
Quoted 8 lines
arch/i386/Kconfig +1
-1@@ -208,7 +208,7 @@ endchoice config PARAVIRT bool "Paravirtualization support (EXPERIMENTAL)" - depends on EXPERIMENTAL + depends on EXPERIMENTAL && NO_HZ depends on !(X86_VISWS || X86_VOYAGER) help Paravirtualization is a way of running multiple instances of
Apart from all the other fun, it seems that we need to merge kconfig-abort-configuration-with-recursive-dependencies.patch, because
scripts/kconfig/conf -m arch/i386/Kconfig
Error: Found recursive dependency: PARAVIRT NO_HZ PARAVIRT make[1]: *** [allmodconfig] Error 1
make: *** [allmodconfig] Error 2
This is due to your patch interacting with
make-config_paravirt-require-no_hz.patch:
From: Chris Wright <[email protected]>
Require NO_HZ when CONFIG_PARAVIRT.
---
arch/i386/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/i386/Kconfig renamed from arch/i386/Kconfig~make-config_paravirt-require-no_hz +1 -1
@@ -208,7 +208,7 @@ endchoice config PARAVIRT bool "Paravirtualization support (EXPERIMENTAL)" - depends on EXPERIMENTAL + depends on EXPERIMENTAL && NO_HZ depends on !(X86_VISWS || X86_VOYAGER) select NO_HZ help
_
I'll drop both of them while you guys sort it all out.