Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/sched/
H A Dmod.rs411 match pcb.sched_info().policy() { in enqueue_task()
442 match pcb.sched_info().policy() { in dequeue_task()
468 if pcb.sched_info().policy() == self.current().sched_info().policy() { in check_preempt_currnet()
469 match self.current().sched_info().policy() { in check_preempt_currnet()
477 } else if pcb.sched_info().policy() < self.current().sched_info().policy() { in check_preempt_currnet()
661 if likely(prev.sched_info().policy() >= SchedPolicy::CFS) in pick_next_task()
677 match prev.sched_info().policy() { in pick_next_task()
805 match current.sched_info().policy() { in scheduler_tick()
874 && prev.sched_info().policy() != SchedPolicy::IDLE in __schedule()
945 let policy = &pcb.sched_info().sched_policy; in sched_fork() localVariable
[all …]
H A Dfair.rs163 return self.pcb().sched_info().policy() == SchedPolicy::IDLE; in is_idle()
1413 let mut idle_h_nr_running = pcb.sched_info().policy() == SchedPolicy::IDLE; in enqueue()
1475 let mut idle_h_nr_running = pcb.sched_info().policy() == SchedPolicy::IDLE; in dequeue()
1603 if unlikely(curr.sched_info().policy() == SchedPolicy::IDLE) in check_preempt_currnet()
1604 && likely(pcb.sched_info().policy() != SchedPolicy::IDLE) in check_preempt_currnet()
1610 if unlikely(pcb.sched_info().policy() != SchedPolicy::CFS) in check_preempt_currnet()
1717 || (prev.is_some() && prev.as_ref().unwrap().sched_info().policy() != SchedPolicy::CFS) in pick_next_task()
1720 match prev.sched_info().policy() { in pick_next_task()
H A Dpelt.rs177 if pcb.sched_info().policy() != SchedPolicy::CFS { in post_init_entity_util_avg()
/DragonOS/docs/kernel/sched/
H A Drt.md48 1. policy:实时进程的策略,目前有:SCHED_FIFO与SCHED_RR
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs174 let priority = sched_info_guard.policy(); in open_status()
/DragonOS/kernel/src/process/
H A Dmod.rs1393 pub fn policy(&self) -> crate::sched::SchedPolicy { in policy() method