IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Linux kernel 笔记 (1) ——CPU在做什么?

    nanxiao发表于 2015-07-10 05:45:33
    love 0
    In fact, in Linux, we can generalize that each processor is doing exactly one of three things at any given moment:a) In user-space, executing user code in a processb) In kernel-space, in process context, executing on behalf of a specific processc) In kernel-space, in interrupt context, not associated with a process, handling aninterrupt在Linux中,任何时候,CPU都在做下面三件事中的一件:a)运行进程的用户空间代码;b)运行进程的内核空间代码;c)处理中断(也是工作在内核空间,但不与任何进程关联)。


沪ICP备19023445号-2号
友情链接