本文介绍了页面错误处理程序如何知道从何处获取4K字节?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的意思是,哪个文件以及该文件的偏移量是什么?
I mean, which file and what's the offset into the file?
页面错误处理程序需要从那里将4K字节复制到物理RAM中.
The page fault handler need to copy 4K bytes from there into the physical RAM.
---------------------- EDIT ------------------------ ----
----------------------EDIT----------------------------
我发现vm_area_struct
中的vm_file
正是我想要的.
I found out that vm_file
in vm_area_struct
was just what I was looking for.
推荐答案
我发现vm_area_struct
中的vm_file
正是我想要的. – xiaokaoy
I found out that vm_file
in vm_area_struct
was just what I was looking for. – xiaokaoy
这篇关于页面错误处理程序如何知道从何处获取4K字节?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!