- 1、本文档共52页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
ProcessAddressSpace
Process Address Space Outline The Process’s Address Space The Memory Descriptor Memory Regions Page Fault Exception Handler Creating and Deleting a Process Address Space Managing the Heap 1 Process Address Space A kernel function gets dynamic memory The kernel is the highest priority component of the operation system The kernel trusts itself User Mode process get dynamic memory Process requests for dynamic memory are considered nonurgent =defer allocating User programs cannot be trusted = kernel catch all addressing error. Process Address Space Memory region User mode process asks for dynamic memory: It does not get additional page frame. It gets the right to use a new range of linear address, which become part of its address space. This interval is called a memory region. The Process’s Address Space Consists of all linear addresses that the process is allowed to use Each process sees a different set of linear address. Kernel may dynamically modify a process address space by adding or removing intervals of linear address. Memory regions are characterized by an initial linear address, a length, and some access rights. A process gets new memory region user type a command at the console running process load an entirely different program running process perform a “memory mapping” on a file process keep adding data on its user mode stack process create an IPC shared memory region process expand its dynamic area (the heap) System call brk() changes the heap size of process execve() loads a new executable file exit() terminates the current process fork() creates a new process mmap() creates a memory mapping for a file munmap() destroys a memory mapping for a file shmat() creates a shared memory region shmdt() destroys a shared memory region Page fault exception handler Kernel must to identify the memory regions currently owned by a process Those caused by programming errors. Those caused by a missing page. The linear address belongs to the process’s address but t
您可能关注的文档
最近下载
- 浙江大学党政人员招聘真题.pdf VIP
- 椎基底动脉综合征护理查房ppt.pptx VIP
- 大学招聘党政管理岗笔试考什么题.pdf VIP
- TCPIA 0120—2025《海上光伏用管式浮体锚固系统设计规范》.pdf
- 济柴V系列天然气发动机使用维护说明书.doc VIP
- SF-36生活质量调查表(SF-36-含评分细则).docx VIP
- 第一次全国自然灾害综合风险普查公报汇编 202405.pdf
- 风电公司风电场35kv集电线路检修技术施工方案.docx VIP
- 【高等数学练习题】上海第二工业大学专升本自考真题汇总(附答案解析).docx VIP
- 风电公司风电场35kv集电线路检修技术施工方案.doc VIP
文档评论(0)