On 02/18/2015 3:35 PM, Lynn McGuire wrote:
> On 2/18/2015 10:13 AM, dpb wrote:
>> On 02/17/2015 1:39 PM, Lynn McGuire wrote:
...
>>> Windows reserves 2 GB for the kernel and so there is 2 GB for the user.
...
>> OK, that's the OS restrictions, _not_ the actual executable sizes
>> supported by the compiler.
...
> True, very true. I would not be surprised if Linux and Unix do the same
> also.
...
Oh, Linux is, as always much more obtuse... :)
By default w/o PAE-enabled hardware, iirc it reserves 1GB for kernel/3GB
per process, similar to the option in Windows.
But, the kernel is PAE-aware and if the hardware/chipset supports it, it
will make use of it and with a bunch of alternate incantations you can,
I think, manage to get to as much as a 64GB address space.
I'd have to go look up all the possibilities but they're myriad and
complex... :)
--