1,116 views
0 votes
0 votes
State true or false. When a user encounters a page fault, 1) The user application informs the OS, 2) User uses API calls to the hardware Memory Management unit, 3) Memory Management unit brings the page from hard disk to main memory.

 

Is Statement 2 correct ?

1 Answer

1 votes
1 votes
Option 3 is correct. There are no API calls for accessing memory. Memory access is a previledged operation and can be done only in kernel. User applications and Runtime enviroments make use of System Calls internally to do the same. When a page fault occurs MMU fetches the page from disk automatically.

Related questions

0 votes
0 votes
0 answers
1
Dulqar asked Jan 24, 2017
4,969 views
if T(n) = n2 √ n thenT(n) = O(n2)T(n) = O(n2 log n)T(n) = O(n3)None of the aboveIm getting option 2 is it correct ?