Home
last modified time | relevance | path

Searched refs:CFSQueue (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/docs/kernel/sched/
Dcfs.md5 ## 1. CFSQueue 介绍
7    CFSQueue是用来存放普通进程的调度队列,每个CPU维护一个CFSQueue,主要使用Vec作为主要存储结构来实现。
/DragonOS-0.1.8/kernel/src/sched/
Dcfs.rs38 struct CFSQueue { struct
49 impl CFSQueue { argument
50 pub fn new(idle_pcb: *mut process_control_block) -> CFSQueue { in new() argument
51 CFSQueue { in new()
109 cpu_queue: Vec<&'static mut CFSQueue>,
124 .push(Box::leak(Box::new(CFSQueue::new(null_mut())))); in new()
134 fn update_cpu_exec_proc_jiffies(_priority: i64, cfs_queue: &mut CFSQueue) -> &mut CFSQueue { in update_cpu_exec_proc_jiffies() argument
143 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies()
188 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_cpu_id]; in sched()