操作系统重点双语阅读 - 上下文切换 Context Switch
来源:互联网 发布:锐捷网络官网 编辑:程序博客网 时间:2024/06/12 23:53
The context is represented in the PCB of the process. It includes the value of the CPU registers, the process state (see Figure 3.2), and memory-management information.
上下文是保存在PCB里面的。 它包括了CPU寄存器的值, 进程状态, 和内存管理信息。
Generically, we perform a state save of the current state of the CPU, be it in kernel or user mode, and then a state restore to resume operations.
通常我们保存CPU的当前状态,记录是在内核(kernel)模式还是在用户模式,然后记录恢复当前操作的状态。
Switching the CPU to another process requires performing a state save of the current process and a state restore of a different process.
切换CPU从一个进程到另外一个进程要求保存当前进程状态和恢复另外一个进程状态。
This task is known as a context switch.
这任务叫做上下文切换。
Context-switch times are highly dependent on hardware support.
上下文切换的时间是很依赖硬件的。
How the address space is preserved, and what amount of work is needed to preserve it, depend on the memory-management method of the operating system.
内存空间如何保存和要保存的工作量是依赖于操作系统内存管理策略的。
- 操作系统重点双语阅读 - 上下文切换 Context Switch
- 上下文切换(Context Switch)
- Context Switch Definition:上下文切换的定义
- Linux进程上下文切换(process context switch)
- 测试Context Switch time(进程上下文切换时间)
- 从Java视角理解CPU上下文切换(Context Switch)
- CPU上下文切换的次数和时间(context switch)
- 从Java视角理解CPU上下文切换(Context Switch)
- 从Java视角理解CPU上下文切换(Context Switch)
- 从Java视角理解CPU上下文切换(Context Switch)
- java 从Java视角理解CPU上下文切换(Context Switch)
- 从Java视角理解CPU上下文切换(Context Switch)
- 从Java视角理解CPU上下文切换(Context Switch)
- 从Java视角理解CPU上下文切换(Context Switch)
- 从Java视角理解CPU上下文切换(Context Switch)
- 从Java视角理解CPU上下文切换(Context Switch)
- lmbench的使用方法 与CPU上下文切换的次数和时间(context switch)
- 查看 CPU上下文切换的次数和时间(context switch)
- 第一篇博客
- python函数参数是值传递还是引用传递(以及变量间复制后是否保持一致):取决于对象内容可变不可变
- 3.1.5 Enhancements
- iOS AvPlayer AvAudioPlayer音频的后台播放问题
- 数据库操作:添加、插入、更新语句
- 操作系统重点双语阅读 - 上下文切换 Context Switch
- BOOL,int,float,指针变量 与“零值”比较的if语句
- ibatis获取主键自动增长ID(Oracle/MSSQL/mysql),取得刚插入的ID编号
- XE4 base64 编码 方法
- Java桌面程序打包成exe——可在没装Java的电脑上安装或运行
- float与double的范围和精度
- java利用https请求服务器
- try catch 中判断异常类型代码
- Cloudstack4.2新的系统虚拟机,默认用户名/密码