Home
last modified time | relevance | path

Searched refs:sched_policy (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/process/
H A Didle.rs62 *idle_pcb.sched_info().sched_policy.write_irqsave() = crate::sched::SchedPolicy::IDLE; in init_idle()
H A Dmod.rs1205 pub sched_policy: RwLock<crate::sched::SchedPolicy>, field
1289 sched_policy: RwLock::new(crate::sched::SchedPolicy::CFS), in new()
1394 return *self.sched_policy.read_irqsave(); in policy()
/DragonOS/kernel/src/init/
H A Dinitial_kthread.rs75 *current_pcb.sched_info().sched_policy.write_irqsave() = crate::sched::SchedPolicy::CFS; in switch_to_user()
/DragonOS/kernel/src/sched/
H A Dmod.rs945 let policy = &pcb.sched_info().sched_policy; in sched_fork()
948 let policy = &pcb.sched_info().sched_policy; in sched_fork()