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

From: Thomas Gleixner
Date: Tue May 22 2012 - 18:22:56 EST


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");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/