From: "Arjan van de Ven" <arjan@xxxxxxxxxxxxx> ... > ok why not define the userspace HZ to > > #define HZ sysconf(_SC_CLK_TCK) That did occur to me. It obviously does get the correct value. The downside is that one of those crufty apps that thinks it is using "HZ" as a constant will instead be invoking a more costly syscall. Should we care about the resulting performance impact? I vote for Arjan's solution. John Hawkes - : send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |