lkml.org 
[lkml]   [2008]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86: printk_time to use tsc before cpu_clock is ready
From
Date
On Wed, 2008-08-27 at 09:42 +0200, Ingo Molnar wrote:
> * Yinghai Lu <yhlu.kernel@gmail.com> wrote:
>
> > +static unsigned long long tsc_clock(int cpu)
> > +{
> > + unsigned long long t;
> > +
> > + rdtscll(t);
> > +
> > + return t;
> > +}
>
> hm, i'm not sure i like the whole direction - this reintroduces
> printk_clock in essence.
>
> how about initializing cpu_clock() sooner, so that printk timestamps
> start ticking as soon as possible?

which will make some archs quite unhappy iirc, see those arm and ia64
bugs I caused the other day.



\
 
 \ /
  Last update: 2008-08-27 09:49    [W:0.039 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site