🔧 改用local apic定时器进行进程时间片更新

This commit is contained in:
fslongjin
2022-07-11 21:47:28 +08:00
parent 594aeadf65
commit defb9e769c
9 changed files with 220 additions and 51 deletions

View File

@ -123,8 +123,7 @@ void sched_cfs()
*/
void sched_update_jiffies()
{
// if (current_pcb->cpu_id == 0)
// return;
switch (current_pcb->priority)
{
case 0: