[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i386 or AMD64 - Which is currently running?



On Mon, Jan 31, 2022 at 09:02:17PM -0500, Stefan Monnier wrote:
Greg Wooledge [2022-01-31 16:45:52] wrote:
On Mon, Jan 31, 2022 at 04:37:37PM -0500, Stefan Monnier wrote:
BTW, for the twisted-minded it's probably possible to run a 64bit
userspace on a 32bit kernel.
No.  Or at least, not that I've ever heard of.  If technology has been
invented to make this possible, it's new to me.

I don't think there's any need to invent anything for that.  I don't see
anything particularly hard about emulating a 64bit instruction set on
a 32bit system.  Performance may not be great, but that's a secondary concern.

that's not running a 64bit userspace on a 32bit kernel, that's running a 64bit userspace on an emulator running in 32bit userspace on a 32bit kernel

this is unlike running the i386 userspace on an amd64 kernel (something that's not particularly uncommon and has certain advantages)--you cannot run the amd64 userspace on an i386 kernel

linux was not the first to do that, and many systems let you run binaries from an older version on a newer version, but I'm not aware of any that worked the other way around


Reply to: