326 views
0 votes
0 votes
Does TLB miss on page fault requires the exception mechanism

I also don’t what it means “TLB miss on page fault” , can someone please explain this statement

1 Answer

0 votes
0 votes
Any page fault would require exceptional handling as you are trying to access memory which is not present in main memory. Page Fault it self is an exception!

When you ask specifically asked for TLB, its processor architecture dependent and OS service responsible for memory translation would have very less control over it, But generally in case of software-loaded TLB (TLB with some programed controller) TLB miss would defiantly raise TLB miss exception. (in case of MIPS architecture).

To keep in mind —
#1. Exception of TLB is architecture dependent — if its just hardwared TLB, memory translator would go one translating address without raising any exceptions for kernel!

This is my understanding let me know if I missed something.

Related questions

4 votes
4 votes
1 answer
4
Gaurav Sharma asked Jan 29, 2016
955 views
My understanding and doubts are First of all TLB is accessed.If there is TLB hit, do we consider this asHit for 1-level PT only and search the TLB again for 2-level PT, o...