How does the page fault handler know where to get the 4K bytes?

…衆ロ難τιáo~ 提交于 2019-12-12 04:21:18

问题


I mean, which file and what's the offset into the file?

The page fault handler need to copy 4K bytes from there into the physical RAM.

----------------------EDIT----------------------------

I found out that vm_file in vm_area_struct was just what I was looking for.


回答1:


I found out that vm_file in vm_area_struct was just what I was looking for. – xiaokaoy



来源:https://stackoverflow.com/questions/38850533/how-does-the-page-fault-handler-know-where-to-get-the-4k-bytes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!