2 votes 2 votes I know that every process has its own page table and but is it the same with TLB? Does every process have its own TLB or there is a master TLB which is used by all the processes? Operating System translation-lookaside-buffer + – punkprincess asked Apr 5, 2018 punkprincess 3.1k views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Jason commented Apr 5, 2018 reply Follow Share There are two strategies to follow when there is a context switch. 1. Flush the TLB. 2. Mark the entries of TLB invalid those do not belong to the current process. // Modern Processors approach. 3 votes 3 votes smsubham commented Apr 6, 2018 reply Follow Share In general, there is only single TLB for the whole system. What happens when process context switch? TLB data is flushed (marked invalid) We may also save TLB state during context switch but this isn't default practice. 2 votes 2 votes gauravkc commented Apr 6, 2018 reply Follow Share Just an additional information. In the second approach in Jason's reply, we save Pid along with the entry to specify which process it belongs. 0 votes 0 votes Surajit commented Apr 9, 2018 reply Follow Share from the perspective of cost...TLB is a cache...we can have thousands of process...can we have so many separate caches since cache memory is so expensive?....page table on the other hand is a data structure storing mappings of physical frames in main memory. 0 votes 0 votes Please log in or register to add a comment.