mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 00:46:31 +00:00
将当前的sched_cfs函数做一个包裹,套一层sched(). (#32)
* 将当前的sched_cfs函数做一个包裹,套一层sched(). * 用sched()包裹sched_cfs(),用sched_enqueue()包裹sched_cfs_enqueue() * 用sched()包裹sched_cfs(),用sched_enqueue()包裹sched_cfs_enqueue(),并替换 * bugfix: 修正拼写错误导致的编译错误 * 修正拼写错误 Co-authored-by: fslongjin <longjin@RinGoTek.cn>
This commit is contained in:
@ -510,7 +510,7 @@ void do_IRQ(struct pt_regs *rsp, ul number)
|
||||
if (current_pcb->flags & PF_NEED_SCHED)
|
||||
{
|
||||
io_mfence();
|
||||
sched_cfs();
|
||||
sched();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user