Messages in this thread | | | Subject | Re: [ANNOUNCE] ktimers subsystem | From | Thomas Gleixner <> | Date | Sun, 25 Sep 2005 23:00:05 +0200 |
| |
On Sun, 2005-09-25 at 01:45 +0200, Roman Zippel wrote:
> > The backward conversion from nsec_t to timespec is almost a non issue. > > The vast majority of callers dont provide the second argument to > > nanosleep(), setitimer(), set_timer() which makes the conversion > > necessary and I think we optimize for the common use case. > > You know very well, that the conversion back to timespec is the killer in > your calculation. You graciously decide that the "vast majority" doesn't > want to read the timer, how did you get to that conclusion?
I graciously put instrumentation into _all_ the relevant syscalls on a desktop and a server machine. The result is that less than 1% of the calls provide the read back variable.
tglx
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |