🆕 fork

This commit is contained in:
fslongjin
2022-05-04 23:20:39 +08:00
parent 2ed8bdcfd2
commit 1801ddffbd
6 changed files with 430 additions and 27 deletions

View File

@ -509,7 +509,7 @@ void do_IRQ(struct pt_regs *rsp, ul number)
kBUG("current_pcb->preempt_count<0! pid=%d", current_pcb->pid); // should not be here
// 检测当前进程是否可被调度
if (current_pcb->flags & PROC_NEED_SCHED)
if (current_pcb->flags & PF_NEED_SCHED)
{
// kdebug("to sched");
sched_cfs();