Re: LinuxPPS & spinlocks

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Wednesday, August 1, 2007 - 6:14 pm

Satyam Sharma <satyam <at> infradead.org> writes:

If we were totally rigurous about representing each device as a device node, 
your solution would be fine.  But we don't.

The clocksource model (/sys/devices/system/clocksource) is a better way to 
go.  One sysfs file is used to enumerate the possible sources and another is 
used to read or set the current source.   No new system calls; no new ioctls.

-ch

ch (at) murgatroid (dot) com
ch (at) hpl (dot) hp (dot) com




-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: LinuxPPS & spinlocks, Christopher Hoover, (Wed Aug 1, 6:14 pm)
Re: LinuxPPS &amp; spinlocks, Satyam Sharma, (Wed Aug 1, 7:03 pm)