Virtual memory

34 views
Skip to first unread message

kavitha...@gmail.com

unread,
Feb 5, 2013, 12:54:08 AM2/5/13
to linux...@googlegroups.com
Hi 

I want to know about virtual memory, I have heard people saying that virtual memory is nothing but the harddisk, some part of the code is mapped to primary memory and the process starts running.

I feel that the harddisk cannot be a VM , VM is program which uses harddisk to make room for other process, by swapping the idle(inactive) programs from RAM to harddisk.
VM does not exists physically, so whatever the contiguous address we get during running programs its just the generated virtual address (which does not point to any physical device) with the help of MMU are mapped to RAM. Am I correct over here.

Kavitha

vishwanath m

unread,
Feb 6, 2013, 1:19:31 PM2/6/13
to linux...@googlegroups.com
HI Kavitha,

yes that is not a real memory , actually all process will assume it has full available memory which can be used for its operations and there is definite start address for an process start i,e main function address is always fixed. internally MMU will take care of mapping this VM to physical table using the address translation .

This may help , please read the attached doc which is really good doc.

regards,
Vishwa

--
You received this message because you are subscribed to the Google Groups "linuxgurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linuxgurus+...@googlegroups.com.
To post to this group, send email to linux...@googlegroups.com.
Visit this group at http://groups.google.com/group/linuxgurus?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

linux_Memory_Managment.pdf

kavitha srinivas

unread,
Feb 7, 2013, 3:10:52 AM2/7/13
to linux...@googlegroups.com

Hi Vishwa,


Thanks for the reply and for the doc.


Regards
Kavitha
Reply all
Reply to author
Forward
0 new messages