[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Process address space
On Tuesday 08 January 2002 08:57 pm, Paul Gearon wrote:
> Sorry for the simple question, but can someone please direct me to a
> description (or maybe diagram) of the full address space for a process
> (all the way from 00000000 to FFFFFFFF).
>
> I know I've seen this before, but I can't recall where. (Rubini's book
> maybe?) I have a vague idea already (bottom 3GB for the process, top 1GB
> for the kernel) but I'm interested in the details.
>
The Bovet and Cesati book has a whole chapter on Process Address Space. A
process's address range is limited by the TASK_SIZE variable (0xC0000000 for
x86). A nice description of how the address space is layed out along with a
discussion of malloc's limitations can be found in the lkml archives for July:
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0107.1/0193.html
-Marvin
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/