[lkml]   [2006]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] RTC: Add mmap method to rtc character driver
Neil Horman wrote:
> Yes, but if its in trade for something thats being used currently which hurts
> more (case in point being the X server), using this solution is a net gain.
> I'm not arguing with you that adding a low res gettimeofday vsyscall is a better
> long term solution, but doing that requires potentially several implementations
> in the C library accross a range of architectures, some of which may not be able
> to provide a time solution any better than what the gettimeofday syscall
> provides today. The /dev/rtc solution is easy, available right now, and applies
> to all arches. It has zero impact for systems which do not use it, and for
> those applications which make a decision to use it instead of an alternate
> method, the result I expect will be a net gain, until such time as we code up,
> test and roll out a vsyscall solution

Quick hacks are frowned upon in the Linux universe. The kernel-user
space interface is supposed to be stable, and thus a hack like this has
to be maintained indefinitely.

Putting temporary hacks like this in is not a good idea.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-07-26 00:39    [W:0.129 / U:3.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site