mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
🐛 创建页表时未清零内存空间
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user