lkml.org 
[lkml]   [2010]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: Export tsc related information in sysfs
On Tue, 25 May 2010, Brian Bloniarz wrote:

> On 05/24/2010 09:33 PM, Brian Bloniarz wrote:
> > So what's wrong with just adding a
> > /sys/devices/system/clocksource/clocksource0/tsc_khz?

It's wrong because TSC is an x86'ism.

> As an RFC:
>
> Add clocksource.sys_register & sys_unregister so the
> current clocksource can add supplemental information to
> /sys/devices/system/clocksource/clocksource0/
>
> Export tsc_khz when current_clocksource==tsc so that
> daemons like NTP can account for the variability of
> calibration results.

I'd rather see a generic solution which provides the information of
the current (and possibly those of the available) clock source(s).

This x86 centric TSC world view is horrible.

Thanks,

tglx


\
 
 \ /
  Last update: 2010-05-26 14:33    [from the cache]
©2003-2011 Jasper Spaans