On Tue, Jun 24, 2008 at 11:22:48AM +0200, Michael Kerrisk wrote: > Okay -- as a first step to resolving this, I've adjusted the text in > time.7, including adding a mention of HRTs. The text that I plan to > put in man-pages-3.01 is shown below. Does it look okay to you > Stephane? [...]
Michael, it looks good. But maybe we should mention that the HZ that decides of the granularity of the timers is the kernel HZ which is different from the user HZ (always 100 on x86, always 1024 on ia64... defined through <sys/param.h>). That kernel HZ is generally hidden to the user, there's no API to get it. Also, I can see we can build tick-less kernels nowadays, but I really don't know what that means exactly. Please don't take my word on all this. I'm really not the specialist here, I tend to find all that very confusing. Best would be to contact the hrtimer authors. Also, I think it should be pointed out that highres timers are not available on all architectures. In kernel/time/Kconfig: config HIGH_RES_TIMERS bool "High Resolution Timer Support" depends on GENERIC_TIME && GENERIC_CLOCKEVENTS select TICK_ONESHOT GENERIC_TIME is defined in the arch/*/Kconfig. "ppc" doesn't have it for instance. There are fewer arches that have GENERIC_CLOCKEVENTS it seems. -- Stéphane -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]