[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080827074230.GA20993@elte.hu>
Date: Wed, 27 Aug 2008 09:42:30 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Yinghai Lu <yhlu.kernel@...il.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [PATCH] x86: printk_time to use tsc before cpu_clock is ready
* Yinghai Lu <yhlu.kernel@...il.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?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists