On Mon, 16 Oct 2006, Madhukar wrote:
Basically, Virtual memory is an illusion of having more physical memory. In 32-bit virtual memory will be 4GB.
No. It's the illusion of having 4GB per process. It also lets you do mmap-ing tricks. It also protects your process' memory space from other processes.
Suppose, if we have 4GB physical memory, then this virtual memory( or MMU) concept is not required ?
Think of DOS, on a machine with 1M RAM, where all processes are 100 bytes long. Is VM not required? How do you do mmap? How do you imlpement private address space? I don't see a way.
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/