🐛 创建页表时未清零内存空间

This commit is contained in:
fslongjin
2022-04-14 19:26:46 +08:00
parent 53c553c730
commit c2d8e88617
7 changed files with 29 additions and 18 deletions

View File

@ -507,7 +507,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 && proc_current_cpu_id == 1)
if (current_pcb->flags & PROC_NEED_SCHED)
{
sched_cfs();
}