Re: Virtual Memory doubt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux