[lkml]   [2006]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ia64: change usermode HZ to 250
Ar Mer, 2006-06-28 am 08:43 -0700, ysgrifennodd John Hawkes:
> > #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?

Given that HZ can be cached by glibc the performance impact is minimal
for most cases. The bigger problem will be code that does things with HZ
that only work on compile time evaluation. At least for those you'll
break at compile time.

Either way its kind of irrelevant, the ABI set HZ. Its done, there are
plenty of ways to change the kernel HZ without confusing userspace.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-28 18:07    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean