Re: [PATCH] RTC: Add mmap method to rtc character driver

Paul Mackerras
2006-07-27T23:55:44Z

Andi Kleen writes:

> No, no, it's wrong. They should use gettimeofday and the kernel's job
> is to make it fast enough that they can.

Not necessarily - maybe gettimeofday's seconds + microseconds
representation is awkward for them to use, and some other kernel
interface would be more efficient for them to use, while being as easy
or easier for the kernel to compute. Jim, was that your point?

Paul.