Commit 559b6c06 authored by hardstone's avatar hardstone
Browse files

添加 CFS 调度器并修改 proc.h、fork() 和 initproc() 函数

-  向内核调度器中添加了完全公平调度器(CFS)。
- 🔧 修改了 proc.h,新增了 vruntime 和 priority 字段。
- 🔨 更新了 fork() 函数,为新进程初始化 vruntime 和 priority。
- 🛠️ 调整了 initproc(),为初始进程设置默认的 priority 和 vruntime。
parent bab810fd
Showing with 72 additions and 0 deletions
+72 -0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment