Re: [PATCH] ia64: change usermode HZ to 250

From: John Hawkes
Date: Wed Jun 28 2006 - 11:44:36 EST


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

-
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/