lkml.org 
[lkml]   [2012]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 00/32] Nohz cpusets v2 (adaptive tickless kernel)
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");


\
 
 \ /
  Last update: 2012-05-23 00:41    [W:0.085 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site