Re: [PATCH] Use uname not sysctl to get the kernel revision

From: H. Peter Anvin
Date: Wed Jul 12 2006 - 16:08:39 EST


Jakub Jelinek wrote:
On Wed, Jul 12, 2006 at 12:33:56PM -0700, Ulrich Drepper wrote:
Roland McGrath wrote:
We could also put the uname info (modulo nodename) into the vDSO.
Or even better: real topology information.

AND rather than OR would be even better. So glibc could find kernel
version, etc. and topology in the vDSO cheaply.

Wouldn't it make more sense for this to be in ELF tags, rather than the vdso? Another alternative, I guess, would be to put a pointer in the ELF tags, which may point into the vdso.

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