This site works best with JavaScript enabled
Sign In
Discussions
Activity
Sign In
All
Module.303: Linux System Programming
In-depth Linux System Programming Concepts would be discussed here.
Module.303: Linux System Programming
Session 03,04 03.VirtualMemory
spatlou
April 2020
You are invited to put is queries/resolutions/advice/articles about Virtual Memory here...
ankitvats846
May 2020
Doubts :-
1) 32 bit machine means process have address space of 2^32 ??
2) page as well as offset will goes to translate into physical address??
int a =5 ; means complete page going to translate??
3) when power on a system which one run first a proccess or mmu
??
4) page acquire only 1 byte in mapping table ?? (16 * 2 * 8 = 256 byte)??
5) if two process have same page than what happened with page frame??
6) can os address translation may fail ?? if yes , in what situation??
7) In modern laptop ,upgrade configuration limited lets say "upto 16gb of ram is supported"??
spatlou
May 2020
1) 32 bit machine means process have address space of 2^32 ??
This means there are 2^32 addresses. (virtual Addresss)
spatlou
May 2020
2) page as well as offset will goes to translate into physical address?? This is correct.
int a =5 ; means complete page going to translate??
One page (atleast) will be allocated(actually 130 kb of memory will be allocated). Out of which only 4 bytes are occupied by int a.
spatlou
May 2020
3) when power on a system which one run first a proccess or mmu
??
Please find the explanation here.
http://www.emblogic.com/members/document_view/843
spatlou
May 2020
4) page acquire only 1 byte in mapping table ?? (16 * 2 * 8 = 256 byte)??
page Table entries consists of VirtualAddress-->PhsicalAddress Mappings. Every mapping occupies 2 Byte(on 32 bit machines).
spatlou
May 2020
5) if two process have same page than what happened with page frame??
The contents of page are copied into Virtual address spaces of both the processes.
But, if shared objects are created then one pages contents could be shared by both processes.
Add a Comment
Powered by
Vanilla
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
0
Module.101: Advanced Data Structures using C
17
Module.303: Linux System Programming
32
Project 22. Ethernet Network Device Driver Development
0
Project.14. Linux System and Network Administration
0
Project.10. Embedded Linux ARM, Configuring and Porting using Storage
0
Project.203 Linux System Programming. MySQL
0
Pravjot Sir Classes
113
Events at EmbLogic
2
Query
506
Module.000: Linux System Administration
24
Project.001: C Programming, Data Structures
77
Project.002: OOPs, C++, Eclipse, Linux
22
Project.003: Linux System Programming
34
Project.004: Linux Network Programming
8
Project.005: Character Device Drivers Development
21
Project.105: Parallel Port Device Drivers Development
5
Project.205: Serial Port Device Drivers Development
3
Project.008: Block Device Driver Development
3
Project.009: Embedded Linux-ARM. Storage
7
Module.011: Shell Scripting using Bash
6
Project 12: Linux Kernel Architecture and Internals
2
Project.015: Python with Eclipse on Linux
27
Project 16: SPI Device Driver Development
2
Project 17: I2C Device Driver Development
0
Project 18: PCI Device Driver Development
0
Project 19: Embedded Linux on ARM Using Network TFTP
0
Project 20: CAN Bus Protocol and Driver Development
0
Project 21: USB Device Drivers Development
0
Embedded Linux
0
ARM Embedded Processor
0
Training
2
Members Area
1
Word From Admin
1