Re: finding out the value of HZ from userspace

From: John Reiser
Date: Sun Mar 14 2004 - 13:28:35 EST


The internal kernel HZ should *NOT* leak out to usespace.

/proc/interrupts "leaks" the value of HZ. On x86, for instance:
( cat /proc/interrupts; sleep 5; cat /proc/interrupts ) | grep timer

--


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