The discussion has been quiet in recent times, but work on replacing the low-level reverse-mapping virtual memory code in the 2.6 kernel continues. When we last looked at the new, object-based reverse mapping ("objrmap") approach, there were two competing implementations:
最近关于该话题的讨论相对平静,但在 2.6 内核中替换底层反向映射虚拟内存代码的工作仍在继续。上次我们关注新的基于对象的反向映射(“objrmap”)方法时,存在两个竞争性实现:
Andrea Arcangeli's anon-vma, which adds a data structure creating a connection between each physical page and the virtual memory area (VMA) structures which reference it.
Andrea Arcangeli 的 anon-vma 补丁,它引入了一种数据结构,在每个物理页和引用该页的虚拟内存区域(VMA)结构之间建立联系。
Hugh Dickins's anonmm, which associates pages with the top-level memory management ("mm") structure instead.
The two approaches are conceptually similar, but each has its strong and weak points. Their performance is essentially equivalent. Thus far, there has not