Memory map to process for a large code segment
1
vote
1
answer
473
views
I know that
of a process shows how the memory mapping is done. For example, the first lines of pmap output shows the memory mapping to the text segment of the process' executable. Assume I have a really big executable and my code size is large. For a small text segment(small executable) the pmamp shows - 401000 - 4096 B - 4 KiB
of text segment mapped.
(1) If the text segment is really large how does it map?
(2) Is it map dynamically based on the pages required as part of the code execution progress?
Asked by Franc
(309 rep)
May 7, 2020, 08:24 AM
Last activity: May 7, 2020, 09:18 AM
Last activity: May 7, 2020, 09:18 AM