什么是 TLB 击落? [英] What is TLB shootdown?

查看:20
本文介绍了什么是 TLB 击落?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是 SMP 中的 TLB 击落?

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.

推荐答案

一个简单的例子:

  1. 系统中的所有处理器共享一些内存.

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

您的一个处理器限制对该共享内存页面的访问.

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

现在,所有处理器都必须刷新它们的 TLB,这样被允许访问该页面的处理器就不能再这样做了.

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.

一个处理器导致 TLB 在其他处理器上刷新的操作称为 TLB 击落.

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

这篇关于什么是 TLB 击落?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆