Home
last modified time | relevance | path

Searched refs:NEED_SCHEDULE (Results 1 – 7 of 7) sorted by relevance

/DragonOS/docs/kernel/sched/
H A Dcore.md62 - ``CpuRunQueue::resched_current``: 若上一步计算的时间超时则到这一步,这里会设置进程标志为``NEED_SCHEDULE``.
64 - 退出中断:退出中断时检查当前进程是否存在标志位``NEED_SCHEDULE``,若存在则调用``__schedule``进行调度。
/DragonOS/kernel/src/arch/x86_64/process/
H A Didle.rs17 if pcb.flags().contains(ProcessFlags::NEED_SCHEDULE) { in arch_idle_func()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dhandle.rs45 if (current_pcb_flags().contains(ProcessFlags::NEED_SCHEDULE)) in x86_64_do_irq()
/DragonOS/kernel/src/sched/
H A Dmod.rs483 && self.current().flags().contains(ProcessFlags::NEED_SCHEDULE) in check_preempt_currnet()
635 if unlikely(current.flags().contains(ProcessFlags::NEED_SCHEDULE)) { in resched_current()
651 .insert(ProcessFlags::NEED_SCHEDULE); in resched_current()
904 prev.flags().remove(ProcessFlags::NEED_SCHEDULE); in __schedule()
H A Dfair.rs1599 if curr.flags().contains(ProcessFlags::NEED_SCHEDULE) { in check_preempt_currnet()
/DragonOS/kernel/src/process/
H A Dmod.rs320 pcb.flags().insert(ProcessFlags::NEED_SCHEDULE); in mark_sleep()
344 pcb.flags().insert(ProcessFlags::NEED_SCHEDULE); in mark_stop()
594 const NEED_SCHEDULE = 1 << 1; constant
/DragonOS/kernel/src/syscall/
H A Dmod.rs1222 .contains(ProcessFlags::NEED_SCHEDULE) in handle()