什么是页面错误? [英] What is a page fault?

查看:92
本文介绍了什么是页面错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是页面错误,操作系统如何处理?

What is a pagefault and what does the OS do with it?

推荐答案

请购买一本书,而不要在此处发布所有家庭作业问题
Please buy a book instead of posting all of your homework questions here


页面错误是大多数计算机上的内存管理单元引发的异常.当存在对未映射内存区域的访问,或者某个进程试图通过访问另一个进程的内存空间来自我扩展时,就会发生这种情况.

操作系统只需要映射到内存区域(有时从交换文件中加载它)或杀死有问题的进程.
A page fault is an exception that is raised by the Memory Management Unit on most computers. It occurs when there''s been an access to an unmapped area of memory, or a process has tried to overreach itself by accessing another process'' memory space.

The OS simply has to map in the area of memory (sometimes loading it from a swap file) or kill the offending process.


这篇关于什么是页面错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆