0

Whether TLB lookups are done on virtual addresses or physical addresses? When TLB hit then it means virtual address to physical pfn is residing in cache memory or data is residing in cache memory

Please provide some pointers where to get detail understanding of cache memory

anshkun
  • 105
  • 1
  • 12

1 Answers1

2

The TLB contains a mapping between virtual and physical addresses only. A TLB hit means that a given virtual address has a physical address mapping in the TLB. It has nothing to do with whether the data at that memory location is in the cache or not.

rohit89
  • 5,745
  • 2
  • 25
  • 42
  • Thanks Rohit, need to confirm how the mapping is managed by TLB, Any good reference which shows detailed insight of cache layer. – anshkun Oct 11 '17 at 16:16