Why ?
Why the first 0x0 - 0x07ffffff virtual addresses are not used by any
process ?
Is that used by the kernel and if yes for what ?
Nilesh Patel
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Hi,
Quoted 3 lines · On Mon, Mar 27, 2000 at 01:36:19PM +0530, [email protected] wrote:
Why the first
0x0-0x07ffffffvirtual addresses are not used by any
process ?
Is that used by the kernel and if yes for what ?
No, the entire 3GB user virtual address space is usable by user space. It's the compiler/linker toolset which requests that ELF binaries be loaded at 0x08000000. As for a reason, the only one I'm aware of is that that's what the ELF standard says. :-) It does offer a solid protection against dereferencing uninitialised pointers, though.
--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Quoted 2 lines · On Mon, 27 Mar 2000 [email protected] wrote:
Why the first
0x0-0x07ffffffvirtual addresses are not used by any
process ?
I think it's to help catch NULL pointer dereferences.
Quoted 1 line
Is that used by the kernel and if yes for what ?
Other than the aforementioned reason, no.
-ben
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/