Re: [PATCH] /proc/sys/kernel/pointer_size

John Levon
2003-01-08T22:31:33Z

On Wed, Jan 08, 2003 at 01:03:14PM -0800, Linus Torvalds wrote:

> You should certainly see it in "uname -a" output, for example.

Hrmph. Actually we can take it from the ELF headers of the vmlinux file
that gets passed in I suppose. Along with a uname hack for when there's
no vmlinux available...

> The same is true of kernel modules - 32-bit kernel modules do not work at
> all when the kernel is 64-bit.

Modules aren't in userspace.

> Compile oprofile for the proper architecture if you do it yourself, and
> complain to the vendor if the vendor is stupid enough to supply a 32-bit
> oprofile with a 64-bit kernel.

I don't see what's stupid about a 32-bit binary on a system where all of
user-space is 32-bit. But it doesn't matter.

regards
john

--
"CUT IT OUT FACEHEAD"
- jeffk