zoukankan      html  css  js  c++  java
  • 操作系统重点双语阅读

    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.

    内存空间如何保存和要保存的工作量是依赖于操作系统内存管理策略的。

  • 相关阅读:
    【Codechef】Chef and Bike(二维多项式插值)
    USACO 完结的一些感想
    USACO 6.5 Checker Challenge
    USACO 6.5 The Clocks
    USACO 6.5 Betsy's Tour (插头dp)
    USACO 6.5 Closed Fences
    USACO 6.4 Electric Fences
    USACO 6.5 All Latin Squares
    USACO 6.4 The Primes
    USACO 6.4 Wisconsin Squares
  • 原文地址:https://www.cnblogs.com/keanuyaoo/p/3402596.html
Copyright © 2011-2022 走看看