> > For proc-reading stuff we can easily check their personality
> > (if current->personality == HZ_3k)
> > fake_hz();
> >
> > Supporting different proc readouts is just as easy as
> > supporting different personalities. If you don't believe
> > me I could code up some example code for you...
>
> I'd much rather have some of the /proc files cleaned up.
>
> You have to realize that much of /proc was done without thinking about the
> best interface. There's a few files that have _really_ ugly problems, and
> the thing with times is part of it. But they have other problems, like
> endianness issues too: IP addresses are stupidly given as HEX numbers, and
> depending on what endianness your machine is, the same IP address looks
> different.
>
> I'd prefer to not have any proc-reading programs check for any
> personalities, I'd like to have people look into the _real_ problem which
> is that /proc files aren't "portable".
Hmm, so you would like to export HZ value in every file in /proc which
exports times? Ok, I like it that way. It will make us put there lots
of '100's, but we'll be able to change 'HZ' value for every subsystem
separately, which is good thing... Is this 2.2 or 2.3 issue?
Pavel
-- I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/