User: Password:
|
|
Subscribe / Log in / New account

Re: [RFC][PATCH 00/32] Nohz cpusets v2 (adaptive tickless kernel)

From:  Thomas Gleixner <tglx-AT-linutronix.de>
To:  Steven Rostedt <rostedt-AT-goodmis.org>
Subject:  Re: [RFC][PATCH 00/32] Nohz cpusets v2 (adaptive tickless kernel)
Date:  Wed, 23 May 2012 00:22:51 +0200 (CEST)
Message-ID:  <alpine.LFD.2.02.1205230020170.3231@ionos>
Cc:  Peter Zijlstra <peterz-AT-infradead.org>, Gilad Ben-Yossef <gilad-AT-benyossef.com>, Frederic Weisbecker <fweisbec-AT-gmail.com>, LKML <linux-kernel-AT-vger.kernel.org>, linaro-sched-sig-AT-lists.linaro.org, Alessio Igor Bogani <abogani-AT-kernel.org>, Andrew Morton <akpm-AT-linux-foundation.org>, Avi Kivity <avi-AT-redhat.com>, Chris Metcalf <cmetcalf-AT-tilera.com>, Christoph Lameter <cl-AT-linux.com>, Daniel Lezcano <daniel.lezcano-AT-linaro.org>, Geoff Levand <geoff-AT-infradead.org>, Ingo Molnar <mingo-AT-kernel.org>, Max Krasnyansky <maxk-AT-qualcomm.com>, "Paul E. McKenney" <paulmck-AT-linux.vnet.ibm.com>, Stephen Hemminger <shemminger-AT-vyatta.com>, Sven-Thorsten Dietrich <thebigcorporation-AT-gmail.com>, Zen Lin <zen-AT-openhuawei.org>
Archive-link:  Article

On Tue, 22 May 2012, Steven Rostedt wrote:

> On Tue, 2012-05-22 at 23:31 +0200, Thomas Gleixner wrote:
> 
> > diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
> > index 590900c..dc8ecc3 100644
> > --- a/arch/x86/kernel/tsc.c
> > +++ b/arch/x86/kernel/tsc.c
> > @@ -109,6 +109,10 @@ static int __init tsc_setup(char *str)
> >  {
> >  	if (!strcmp(str, "reliable"))
> >  		tsc_clocksource_reliable = 1;
> > +	if (!strcmp(str, "perfect")) {
> > +		tsc_clocksource_reliable = 1;
> > +		sched_clock_stable = 1;
> > +	}
> 
> 	else if(!strcmp(str, "pony")) {
> 		tsc_clocksource_reliable = 1;
> 		sched_clock_stable = 1;
> 		tsc_perfect_smp_synchronization = 1;

	else if (!strcmp(str, "real")
	     panic("Can't handle real TSCs!\n");


(Log in to post comments)


Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds