主  页 论文目录 汇款方式 注意事项 联系我们 留言本
 
设为首页 加入收藏 联系我们
您的位置: 首页->论文目录->Linux内核进程调度与控制分析       返回七七论文网首页
Linux内核进程调度与控制分析(代码032)

    包含内容:论文

    价格:40元

 

部分内容:
    

摘要:本文对Linux内核中进程调度和进程控制部分的源代码分别进行了详细的流程分析与代码注释,并对这两部分的代码实现进行了研究,阐述了它们的优缺点。在进程调度部分,主要涉及了Linux的调度算法及实现、时钟中断、定时器、Linux内核机制以及系统调用nanosleep、pause。在进程控制部分,主要涉及了Linux系统调用的实现和进程的创建、装入执行、等待、消亡的过程。

关键词:操作系统 进程 进程调度 中断 定时器 运行队列 系统调用 内核空间 用户空间

ABSTRACT: In this article ,we have written the program flow and comment of the code that about The Process Scheduling and Control of Linux Kernel。We also make a research on implementation of the code and indicate the strongpoint and shortcoming of it. In Process Scheduling,the things we have done include the algorithms and implementation of process scheduling,time interrupt,timer,bottom half,nanosleep and pause. In Process Control, the things what we have done include the implementation of System Call and the course of the process creating,exec,wait and exit.

Key Words: Oprerating system   Process  Process  sceduling  Interrupt  Timer  Run-queue System  call   Kernel space  User space

1.Linux内核的整体结构
Linux内核由5个主要的子系统组成。这5个子系统分别是进程调度(SCHED)、内存管理(MM)、虚拟文件系统(Virtual File System,VFS)、网络接口(NET)和进程间通信(IPC)。
进程调度控制着进程对CPU的访问。当需要选择下一个进程运行时,由调度程序选择最值得运行的进程。可运行进程实际是仅等待CPU资源的进程,如果某个进程在等待其它资源,则该进程是不可运行进程。Linux使用了比较简单的基于优先级的进程调度算法选择新的进程。

 

论文说明: 理论性论文