Re: [PATCH] i386 tsc: remove xtime_lock'ing around cpufreq notifier

From: Andi Kleen
Date: Thu Apr 12 2007 - 12:46:07 EST



> I was proposing that i386 and x86_64 be given a new, lockless,
> high-resolution printk_clock(). Presently x86 uses the default
> printk_clock(), which uses sched_clock(). Presumably copying the
> pre-x86_64-mm-sched-clock-share.patch version of sched_clock() into
> printk_clock() will suffice.

Ok. I think it's better to just fix sched_clock() again than to
add another one. I can probably
eliminate the ktime_get() and use something based on jiffies. That will
be inaccurate for the instable case of course.

I will do that later today.

-Andi



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