Wednesday, 25 March 2015

virtual address vs physical address vs logical address

virtual address:
This is the address virtually seen by the process.

physical address : 
This is the actual hardware physical address .
Lets our system has 4gb of ram 
Every process will assume to have virtual address of 4gb .But actually all the space is not used .
Virtual address is converted to physical address using page tables.

vmalloc-allocate physical address
kmalloc-allocate virtual address 

logical and virtual memory are kind of same .
virtual address range - 2^32 for 32bit os

No comments:

Post a Comment