1

How to allocate virtual memory in linux

view story
linux-howto

https://bbs.archlinux.org – Every process has the possibility to address 2^32 or 2^64 bits of virtual memory. The moment you request to read or to write to one of these memory address', it is converted to a physical memory location (based on the process ID) as it is sent to your L1 data cache. It will take a miss and ask your L2 for it, your L2 will take a miss and ask your L3 or your main memory for it, and that will take a miss and ask disk for it. The page of memory will be transferred to main memory, then from main memory down your cache levels. Then if there is room in your L1 cache, the cache line from the pag (HowTos)