Sonntag, 27. Juni 2010

linux kernel process address space layout

linux kernel process address space layout

quoted from professional linux kernel architecture by Wolfgang Mauerer page 290-291.

6 elements

1. The binary code of the code currently running. This code is normally referred to as text and the area of virtual memory in which it is located as a test segment.

2. The code of dynamic libraries used by the program.

3. The heap where global variables and dynamically generated data are stored.

4. The stack used to holds local variable and to implement function and procedure call.

5. Sections with environment variables and command-line arguments.

6. memory mappings that map the contents of files into the virtual address space.


Keine Kommentare: