不过,在它们可以被交换出去之前,必须找到映射那个页的每一个进程,这样那些进程中相应页的页表条目才可以被更新。
However, before they can be swapped out, every single process mapping that page must be found so that the page-table entry for the page in that process can be updated.
如果您的一个进程要使用4 KB的页来映射1 GB内存,这将用到262,144个页表条目来保持对那些页的追踪。
If you have a process that maps 1 GB of memory with 4 KB pages, it would take 262,144 page-table entries to keep track of those pages.
应用推荐