- 1、本文档共52页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
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
您可能关注的文档
- OLED讲义.ppt
- OLT.ppt
- OptiXOSN系统硬件CERTNET月.ppt
- OpenHelix制作的omim使用教程Jan.ppt
- origin信号处理.ppt
- origin曲线拟合.ppt
- Oracle石化行业解决方案.ppt
- osiris使用指南.ppt
- OUTLETS营销推广方案.ppt
- OvidSP平台数据库.ppt
- 2016-2017学年高中生物第二单元生态工程与生物安全第1章第2节我国的生态工程教案中图版选修3.doc
- 2022-2023学年小升初英语易错点专练06完形填空15篇(广州教科版专版含答案)2.docx
- 期中专项四年级英语下册(含答案)3.docx
- 期末卷(二)(含答案解析)-2022-2023学年高二历史期中期末复习备考必刷题(选择性必修一国家制度与社会治理).docx
- 第4课欧姆定律的应用第一讲欧姆定律实验探究(原卷版).docx
- Unit1限制性定语从句语法讲义人教版高一英语学生版213.docx
- 2023年宁波市初中毕业升学文化考试科学模拟卷(八).docx
- 5.3细胞呼吸的原理和应用课件高一上学期生物人教版必修12.pptx
- 高中政治更好发挥政府作用教学设计.docx
- 体悟民间故事中的幸福--五上《中国民间故事》导读课.docx
最近下载
- 高等教育出版社 国家级教学成果奖答辩汇报.ppt
- 中班语言《雪花》PPT课件.ppt VIP
- 补充协议范本(简单版).docx
- 2024年教科版八年级物理上册第5章教学设计5.5 跨学科实践:地球上的水循环.docx
- 2024-2025年统编版小学道德与法治一年级上册(全册)知识点归纳总结.pdf VIP
- 2024年学校教师校本培训专题学习PPT:弘扬教育家精神做新时代好老师.pptx
- 《休闲食品企业盈利能力问题分析及优化对策:以百草味公司为例12000字》.docx
- 哈利波特与魔法石英文剧本(完整版).pdf
- 休克诊断和治疗指南ppt课件.pptx VIP
- 党建联系点调研报告范文六篇.docx VIP
文档评论(0)