Re: [PATCH] RTC: Add mmap method to rtc character driver
From: Keith Packard
Date: Sat Jul 29 2006 - 18:43:13 EST
On Sat, 2006-07-29 at 17:43 -0400, Neil Horman wrote:
> Sure, an mmaped jiffy counter would certainly be usefull. I think the only
> thing left to be determined in this thread is if adding mmap to the rtc driver
> has any merit regardless of any potential users (iow, would current users of
> /dev/rtc find it helpful to have the rtc driver provide an mmap interface.)
A jiffy counter is sufficient for the X server; all I need is some
indication that time has passed with a resolution of 10 to 20 ms. I
check this after each X request is processed as that is the scheduling
granularity. An X request can range in time from .1us to 100 seconds, so
I really want to just check after each request rather than attempt some
heuristic.
--
keith.packard@xxxxxxxxx
Attachment:
signature.asc
Description: This is a digitally signed message part