Re: Linux 2.4.19ac3rc3 on IBM x330/x340 SMP - "ps" time skew

Benjamin Herrenschmidt (benh@kernel.crashing.org)
Thu, 1 Aug 2002 10:49:19 +0200


>2.2.xx i386 as shipped by Linus
>2.4.xx i386 with HZ modified
>
>Come on, write the code if you think it's so easy.
>You get bonus points for supporting 2.0.xx kernels
>and the IA-64 kernel with that same executable.
>
>Maybe you think I should tell these people to go to Hell?
>In that case, what about the Alpha systems that ran HZ at
>1200 instead of 1024?

Isn't HZ value passed down to userland via the ELF aux table ?

(At least the "userland visible" one, which isn't the kernel
internal one in recent 2.5's, oh well...)

That's a reason I don't understand why Linus did this separation
between "userland visibl" HZ and kernel internal HZ. I would have
just changed the kernel HZ and let userland be fixed to use the
value passed via the aux table instead of hard coding it.

Ben.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/