cachingoperating-systemtlbsmp

What is TLB shootdown?


What is a TLB shootdown in SMPs?

I am unable to find much information regarding this concept. Any good example would be very much appreciated.


Solution

  • A quick example:

    1. You have some memory shared by all of the processors in your system.

    2. One of your processors restricts access to a page of that shared memory.

    3. Now, all of the processors have to flush their TLBs, so that the ones that were allowed to access that page can't do so any more.

    The actions of one processor causing the TLBs to be flushed on other processors is what is called a TLB shootdown.