There are a number of additional details concerning the actual organization of the TLB. Because the TLB contains only some of the entries in a full page table, we cannot simply index into the TLB based on page number. Instead, each entry in the TLB must include the page number as well as the complete page table entry. The processor is equipped with hardware that allows it to interrogate simultaneously a number of TLB entries to determine if there is a match on page number. This technique is referred to as associative mapping and is contrasted with the direct mapping, or indexing, used for lookup in the page table.
Why there is a need for Associative mapping in TLB why not Direct Mapping is suitable ? And why we cannot simply index into the TLB based on page number as mentioned above in the paragraph.Is it because of ASID’s that we store in TLB’s