Where does virtual memory exist in linux? -


as program stored on flash/disk. execution, program loaded virtual memory , mapped ram virtual manager. during execution process in ram. virtual memory exist (where has .text, .data, .stack, .heap)?

the virtual memory view of ram plus maybe swap space provided virtual memory manager. modern oss have virtual memory managers , provide virtual memory processes executing program can behave if had contiguous address space size not limited actual ram. pages or blocks making virtual memory can mapped anywhere in ram, contiguos virtual pages need stored in contiguos ram areas. or can swapped out page space or swap space, waiting there until needed, whereupon they're read os , mapped ram page.

when

during execution process in ram.

this not entirely correct. or memory pages belong process may swapped out, explained.

one more word concerning answers , comments "virtual" means doesn't exist. makes no sense. on contrary, according webster:

being such in essence or effect ...

hence virtual memory (therefore, exists!) behaves if memory.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -