Re: IA-32 on x86-64

From: Kyle McMartin
Date: Sat May 20 2006 - 17:40:34 EST


On Sat, May 20, 2006 at 09:03:11AM -0400, John Richard Moser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Does anyone know how to check if I'm running an IA-32 process on x86-64?

is_compat_task()

> More importantly, how do I tell how big the user VM space is for
> current? Like 3GiB for x86 and who knows what (87GiB? 192GiB?) for
> x86-64 and however much for sparc/ppc ....

TASK_SIZE

You should probably do your own work instead of posting questions everytime
you hit something you'd have to do a little bit of searching for.

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