Multithreading – multi core CPUs share MMus and page tables?

On a single - core computer, one thread executes at a time At each context switch, the scheduler checks whether the new thread to be scheduled is in the same process as the previous process If so, MMU (page table) does not need to do anything In another case, you need to update the page table with a new process page table

I want to know how this happens on multi - core computers I think each core has a dedicated MMU. If two threads of the same process run on two cores at the same time, the MMU of this core simply refers to the same page table It's true? Can you point out my good reference to this problem?

Solution

Look at this plan This is all the advanced views in one core of Corei7 CPU The picture comes from computer system: Programmer's point of view, Bryant and halon You can access the charts in section 9.21 here

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>