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.
...in the short term.
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 appliesto all arches.
"All"? Segher - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- References:
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Segher Boessenkool <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Segher Boessenkool <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: "Dave Airlie" <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- Prev by Date: Re: [PATCH] RTC: Add mmap method to rtc character driver
- Next by Date: Re: what is necessary for directory hard links
- Previous by thread: Re: [PATCH] RTC: Add mmap method to rtc character driver
- Next by thread: Re: [PATCH] RTC: Add mmap method to rtc character driver
- Index(es):