计算机基础

来源:互联网 发布:p鼻子的软件 编辑:程序博客网 时间:2024/05/17 09:39

1. memory barrier

A memory barrier, also known as a membar, memory fence or fence instruction, is a type of barrier instruction that causes a central processing unit (CPU) or compiler to enforce an ordering constraint onmemory operations issued before and after the barrier instruction. This typically means that operations issued prior to the barrier are guaranteed to be performed before operations issued after the barrier.

ref:http://en.wikipedia.org/wiki/Memory_barrier


2. memory management unit (MMU)

Most MMUs use an in-memory table of items called a "page table," containing one "page table entry" (PTE) per page, to map virtual page numbers to physical page numbers in main memory. An associative cache of PTEs is called a translation lookaside buffer (TLB) and is used to avoid the necessity of accessing the main memory every time a virtual address is mapped.

ref: http://en.wikipedia.org/wiki/Memory_management_unit

0 0