页面缓存上的访问是否需要MMU的地址翻译?

发布于 2025-01-28 22:50:13 字数 188 浏览 5 评论 0原文

我在理解Linux中的页面调查工作方面有一个小问题。如果我理解正确的话,页面缓存将填充到最近分配的内核。如果这些页面(缓存内部内部)充满了数据,那么由于数据已经在缓存中已经存在时,因此不需要通过MMU进行adress翻译吗?因此,内核可以通过虚拟地址直接访问它们,只需要使用MMU,而只需使用页面桌就可以在缓存内找到数据。

我希望你能纠正我。谢谢。

I have a little problem in understanding the working of the page-cache in linux. If I understood it right the page cache gets filled with pages the kernel recently allocated. Is it correct that, if these pages (inside the cache) are filled with data, there isn't an adress translation through the MMU required as the data is already here in the cache? So the kernel can directly access them with the virtual adress and does only have to use the MMU but only the page-table to find the data inside the cache.

I hope you can correct me. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文