mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-25 18:23:22 +00:00
使用Rust重构CFS调度器 (#131)
* 新建调度器的文件 * 把softirq vector移动到c文件中(原来在.h) * 将进程切换方式改为“中断返回时切换” * new:使用rust重构CFS * 删除已经在smp中废弃的HPET中断转发函数 * 代码格式化 * 删除多余的dunce依赖
This commit is contained in:
@ -70,7 +70,8 @@ int video_refresh_daemon(void *unused)
|
||||
}
|
||||
video_refresh_expire_jiffies = cal_next_n_ms_jiffies(REFRESH_INTERVAL << 1);
|
||||
}
|
||||
video_daemon_pcb->flags &= ~PROC_RUNNING;
|
||||
video_daemon_pcb->state &= ~PROC_RUNNING;
|
||||
video_daemon_pcb->flags |= PF_NEED_SCHED;
|
||||
sched();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user