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

From: Paul Mackerras
Date: Thu Jul 27 2006 - 19:53:35 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/