Re: finding out the value of HZ from userspace

From: Tim Bird
Date: Fri Apr 02 2004 - 13:20:22 EST


Peter Williams wrote:
It's not possible to change USER_HZ. There are too many programs with
the number hard-coded into the binary.

This is an argument that the tail should be allowed to wag the dog and is not really valid :-)

It is an interesting, but untenable, position that the applications
are the tail and the OS is the dog. The OS exists to serve the applications.
The applications, are, after all what a user actually DOES with their computer.

It is possible that the current applications which use hardcoded USER_HZ are
not important enough, or are easy enough to fix, that the cost in incompatibility
is offset by the benefit of providing different behaviour for future applications.

But breaking them for no good reason, and particularly while there is a
migration path possible over time which does not break compatibility, seems like
a bad idea.

=============================
Tim Bird
Architecture Group Co-Chair
CE Linux Forum
Senior Staff Engineer
Sony Electronics
E-mail: Tim.Bird@xxxxxxxxxxx
=============================

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