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

From: Steven Rostedt
Date: Tue May 22 2012 - 17:50:50 EST


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;
}

-- Steve

> if (!strncmp(str, "noirqtime", 9))
> no_sched_irq_time = 1;
> return 1;
>


--
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/