🐛 修复了进程由于异常被捕获后,其他进程无法被正常调度的问题

This commit is contained in:
fslongjin
2022-06-01 17:13:12 +08:00
parent e2a59dbd43
commit b97aaee746
3 changed files with 24 additions and 23 deletions

View File

@ -75,6 +75,7 @@ void sched_cfs()
}
}
// kdebug("before switch, next.rip = %#018lx\tnext->gs=%#018lx", proc->thread->rip, proc->thread->gs);
// kdebug("currentpcb=%#018lx", (uint64_t)current_pcb);
process_switch_mm(proc);
switch_proc(current_pcb, proc);
}