* [PATCH] make CONFIG_PARAVIRT require NO_HZ
@ 2007-03-16 5:47 Chris Wright
2007-03-16 5:56 ` Zachary Amsden
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Chris Wright @ 2007-03-16 5:47 UTC (permalink / raw)
To: Jeremy Fitzhardinge, Rusty Russell, Zachary Amsden
Cc: virtualization, Ingo Molnar, Thomas Gleixner, Andrew Morton
Given all the discussion, let's just require NO_HZ when
CONFIG_PARAVIRT. Anyone object?
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
--- a/arch/i386/Kconfig Mon Mar 12 11:07:45 2007 -0700
+++ b/arch/i386/Kconfig Mon Mar 12 16:53:14 2007 -0700
@@ -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
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] make CONFIG_PARAVIRT require NO_HZ
2007-03-16 5:47 [PATCH] make CONFIG_PARAVIRT require NO_HZ Chris Wright
@ 2007-03-16 5:56 ` Zachary Amsden
2007-03-16 10:55 ` Ingo Molnar
2007-03-17 0:18 ` Andrew Morton
2 siblings, 0 replies; 7+ messages in thread
From: Zachary Amsden @ 2007-03-16 5:56 UTC (permalink / raw)
To: Chris Wright; +Cc: virtualization, Andrew Morton, Thomas Gleixner, Ingo Molnar
Chris Wright wrote:
> Given all the discussion, let's just require NO_HZ when
> CONFIG_PARAVIRT. Anyone object?
>
> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
> ---
>
> --- a/arch/i386/Kconfig Mon Mar 12 11:07:45 2007 -0700
> +++ b/arch/i386/Kconfig Mon Mar 12 16:53:14 2007 -0700
> @@ -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!
Acked-by: Zachary Amsden <zach@vmware.com>
Acked-by: Zachary Amsden <zach@vmware.com>
Acked-by: Zachary Amsden <zach@vmware.com>
Sorry, I got excited.
Zach
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] make CONFIG_PARAVIRT require NO_HZ
2007-03-16 5:47 [PATCH] make CONFIG_PARAVIRT require NO_HZ Chris Wright
2007-03-16 5:56 ` Zachary Amsden
@ 2007-03-16 10:55 ` Ingo Molnar
2007-03-16 11:29 ` Andi Kleen
2007-03-17 0:18 ` Andrew Morton
2 siblings, 1 reply; 7+ messages in thread
From: Ingo Molnar @ 2007-03-16 10:55 UTC (permalink / raw)
To: Chris Wright; +Cc: virtualization, Thomas Gleixner, Andrew Morton
* Chris Wright <chrisw@sous-sol.org> wrote:
> Given all the discussion, let's just require NO_HZ when
> CONFIG_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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] make CONFIG_PARAVIRT require NO_HZ
2007-03-16 10:55 ` Ingo Molnar
@ 2007-03-16 11:29 ` Andi Kleen
2007-03-16 11:48 ` Ingo Molnar
2007-03-16 16:09 ` Chris Wright
0 siblings, 2 replies; 7+ messages in thread
From: Andi Kleen @ 2007-03-16 11:29 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Chris Wright, virtualization, Thomas Gleixner, Andrew Morton
On Friday 16 March 2007 11:55, Ingo Molnar wrote:
> * Chris Wright <chrisw@sous-sol.org> wrote:
> > Given all the discussion, let's just require NO_HZ when
> > CONFIG_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?
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] make CONFIG_PARAVIRT require NO_HZ
2007-03-16 11:29 ` Andi Kleen
@ 2007-03-16 11:48 ` Ingo Molnar
2007-03-16 16:09 ` Chris Wright
1 sibling, 0 replies; 7+ messages in thread
From: Ingo Molnar @ 2007-03-16 11:48 UTC (permalink / raw)
To: Andi Kleen; +Cc: Chris Wright, virtualization, Thomas Gleixner, Andrew Morton
* Andi Kleen <ak@suse.de> wrote:
> Although I would prefer a select instead of a depends I think.
> Otherwise the relationship will be quite unobvious.
yep.
Ingo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] make CONFIG_PARAVIRT require NO_HZ
2007-03-16 11:29 ` Andi Kleen
2007-03-16 11:48 ` Ingo Molnar
@ 2007-03-16 16:09 ` Chris Wright
1 sibling, 0 replies; 7+ messages in thread
From: Chris Wright @ 2007-03-16 16:09 UTC (permalink / raw)
To: Andi Kleen
Cc: Chris Wright, Andrew Morton, virtualization, Ingo Molnar,
Thomas Gleixner
* Andi Kleen (ak@suse.de) wrote:
> On Friday 16 March 2007 11:55, Ingo Molnar wrote:
> > * Chris Wright <chrisw@sous-sol.org> wrote:
> > > Given all the discussion, let's just require NO_HZ when
> > > CONFIG_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?
>
> 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.
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] make CONFIG_PARAVIRT require NO_HZ
2007-03-16 5:47 [PATCH] make CONFIG_PARAVIRT require NO_HZ Chris Wright
2007-03-16 5:56 ` Zachary Amsden
2007-03-16 10:55 ` Ingo Molnar
@ 2007-03-17 0:18 ` Andrew Morton
2 siblings, 0 replies; 7+ messages in thread
From: Andrew Morton @ 2007-03-17 0:18 UTC (permalink / raw)
To: Chris Wright; +Cc: virtualization, Thomas Gleixner, Ingo Molnar
On Thu, 15 Mar 2007 22:47:46 -0700 Chris Wright <chrisw@sous-sol.org> wrote:
> Given all the discussion, let's just require NO_HZ when
> CONFIG_PARAVIRT. Anyone object?
>
> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
> ---
>
> --- a/arch/i386/Kconfig Mon Mar 12 11:07:45 2007 -0700
> +++ b/arch/i386/Kconfig Mon Mar 12 16:53:14 2007 -0700
> @@ -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 <chrisw@sous-sol.org>
Require NO_HZ when CONFIG_PARAVIRT.
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Zachary Amsden <zach@vmware.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/i386/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/i386/Kconfig~make-config_paravirt-require-no_hz arch/i386/Kconfig
--- a/arch/i386/Kconfig~make-config_paravirt-require-no_hz
+++ a/arch/i386/Kconfig
@@ -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.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-03-17 0:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 5:47 [PATCH] make CONFIG_PARAVIRT require NO_HZ Chris Wright
2007-03-16 5:56 ` Zachary Amsden
2007-03-16 10:55 ` Ingo Molnar
2007-03-16 11:29 ` Andi Kleen
2007-03-16 11:48 ` Ingo Molnar
2007-03-16 16:09 ` Chris Wright
2007-03-17 0:18 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).