Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-08 Thread Frederic Weisbecker
2013/3/8 Borislav Petkov : > On Fri, Mar 08, 2013 at 02:45:12PM +0100, Frederic Weisbecker wrote: >> 2013/3/8 Borislav Petkov : >> > On Fri, Mar 08, 2013 at 12:35:47AM +0100, Frederic Weisbecker wrote: >> >> I think that "Full dynticks system" would express well what happens? >> > >> > Yeah, it

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-08 Thread Borislav Petkov
On Fri, Mar 08, 2013 at 02:45:12PM +0100, Frederic Weisbecker wrote: > 2013/3/8 Borislav Petkov : > > On Fri, Mar 08, 2013 at 12:35:47AM +0100, Frederic Weisbecker wrote: > >> I think that "Full dynticks system" would express well what happens? > > > > Yeah, it probably doesn't really matter all

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-08 Thread Frederic Weisbecker
2013/3/8 Borislav Petkov : > On Fri, Mar 08, 2013 at 12:35:47AM +0100, Frederic Weisbecker wrote: >> I think that "Full dynticks system" would express well what happens? > > Yeah, it probably doesn't really matter all that much in the end - > people will refer to this with different names like

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-08 Thread Borislav Petkov
On Fri, Mar 08, 2013 at 12:35:47AM +0100, Frederic Weisbecker wrote: > I think that "Full dynticks system" would express well what happens? Yeah, it probably doesn't really matter all that much in the end - people will refer to this with different names like with other features in Linux anyway.

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-08 Thread Borislav Petkov
On Fri, Mar 08, 2013 at 12:35:47AM +0100, Frederic Weisbecker wrote: I think that Full dynticks system would express well what happens? Yeah, it probably doesn't really matter all that much in the end - people will refer to this with different names like with other features in Linux anyway. :-)

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-08 Thread Frederic Weisbecker
2013/3/8 Borislav Petkov b...@alien8.de: On Fri, Mar 08, 2013 at 12:35:47AM +0100, Frederic Weisbecker wrote: I think that Full dynticks system would express well what happens? Yeah, it probably doesn't really matter all that much in the end - people will refer to this with different names

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-08 Thread Borislav Petkov
On Fri, Mar 08, 2013 at 02:45:12PM +0100, Frederic Weisbecker wrote: 2013/3/8 Borislav Petkov b...@alien8.de: On Fri, Mar 08, 2013 at 12:35:47AM +0100, Frederic Weisbecker wrote: I think that Full dynticks system would express well what happens? Yeah, it probably doesn't really matter all

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-08 Thread Frederic Weisbecker
2013/3/8 Borislav Petkov b...@alien8.de: On Fri, Mar 08, 2013 at 02:45:12PM +0100, Frederic Weisbecker wrote: 2013/3/8 Borislav Petkov b...@alien8.de: On Fri, Mar 08, 2013 at 12:35:47AM +0100, Frederic Weisbecker wrote: I think that Full dynticks system would express well what happens?

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-07 Thread Frederic Weisbecker
2013/2/20 Borislav Petkov : > On Mon, Feb 11, 2013 at 03:35:29PM +0100, Borislav Petkov wrote: >> > +/* Parse the boot-time nohz CPU list from the kernel parameters. */ >> > +static int __init tick_nohz_full_setup(char *str) >> > +{ >> > + alloc_bootmem_cpumask_var(_nohz_mask); >> > +

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-07 Thread Frederic Weisbecker
2013/2/11 Borislav Petkov : > On Tue, Jan 08, 2013 at 03:08:07AM +0100, Frederic Weisbecker wrote: > > [ … ] > >> diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig >> index 8601f0d..dc6381d 100644 >> --- a/kernel/time/Kconfig >> +++ b/kernel/time/Kconfig >> @@ -70,6 +70,15 @@ config NO_HZ >>

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-07 Thread Frederic Weisbecker
2013/2/11 Borislav Petkov b...@alien8.de: On Tue, Jan 08, 2013 at 03:08:07AM +0100, Frederic Weisbecker wrote: [ … ] diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig index 8601f0d..dc6381d 100644 --- a/kernel/time/Kconfig +++ b/kernel/time/Kconfig @@ -70,6 +70,15 @@ config NO_HZ

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-03-07 Thread Frederic Weisbecker
2013/2/20 Borislav Petkov b...@alien8.de: On Mon, Feb 11, 2013 at 03:35:29PM +0100, Borislav Petkov wrote: +/* Parse the boot-time nohz CPU list from the kernel parameters. */ +static int __init tick_nohz_full_setup(char *str) +{ + alloc_bootmem_cpumask_var(full_nohz_mask); +

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-02-20 Thread Borislav Petkov
On Mon, Feb 11, 2013 at 03:35:29PM +0100, Borislav Petkov wrote: > > +/* Parse the boot-time nohz CPU list from the kernel parameters. */ > > +static int __init tick_nohz_full_setup(char *str) > > +{ > > + alloc_bootmem_cpumask_var(_nohz_mask); > > + have_full_nohz_mask = true; > > +

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-02-20 Thread Borislav Petkov
On Mon, Feb 11, 2013 at 03:35:29PM +0100, Borislav Petkov wrote: +/* Parse the boot-time nohz CPU list from the kernel parameters. */ +static int __init tick_nohz_full_setup(char *str) +{ + alloc_bootmem_cpumask_var(full_nohz_mask); + have_full_nohz_mask = true; +

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-02-11 Thread Borislav Petkov
On Tue, Jan 08, 2013 at 03:08:07AM +0100, Frederic Weisbecker wrote: [ … ] > diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig > index 8601f0d..dc6381d 100644 > --- a/kernel/time/Kconfig > +++ b/kernel/time/Kconfig > @@ -70,6 +70,15 @@ config NO_HZ > only trigger on an as-needed

Re: [PATCH 07/33] nohz: Basic full dynticks interface

2013-02-11 Thread Borislav Petkov
On Tue, Jan 08, 2013 at 03:08:07AM +0100, Frederic Weisbecker wrote: [ … ] diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig index 8601f0d..dc6381d 100644 --- a/kernel/time/Kconfig +++ b/kernel/time/Kconfig @@ -70,6 +70,15 @@ config NO_HZ only trigger on an as-needed basis

[PATCH 07/33] nohz: Basic full dynticks interface

2013-01-07 Thread Frederic Weisbecker
Start with a very simple interface to define full dynticks CPU: use a boot time option defined cpumask through the "full_nohz=" kernel parameter. Make sure you keep at least one CPU outside this range to handle the timekeeping. Also full_nohz= must match rcu_nocb= value. Suggested-by: Paul E.

[PATCH 07/33] nohz: Basic full dynticks interface

2013-01-07 Thread Frederic Weisbecker
Start with a very simple interface to define full dynticks CPU: use a boot time option defined cpumask through the full_nohz= kernel parameter. Make sure you keep at least one CPU outside this range to handle the timekeeping. Also full_nohz= must match rcu_nocb= value. Suggested-by: Paul E.