Re: finding out the value of HZ from userspace

From: Peter Williams
Date: Sat Mar 27 2004 - 18:57:26 EST

Jamie Lokier wrote:
Peter Williams wrote:

Making HZ == USER_HZ would also solve the problem.

They were equal once.

Making them equal now would reintroduce the problem that USER_HZ was
created to resolve: some userspace programs hard-code the value, so it
cannot be changed in interfaces used by those programs.

That was the wrong solution to that particular problem. The programs should have been fixed rather than the kernel being maimed to accommodate their shortcomings.

Dr Peter Williams, Chief Scientist peterw@xxxxxxxxxx
Aurema Pty Limited Tel:+61 2 9698 2322
PO Box 305, Strawberry Hills NSW 2012, Australia Fax:+61 2 9699 9174
79 Myrtle Street, Chippendale NSW 2008, Australia

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