Searched refs:CFSQueue (Results 1 – 2 of 2) sorted by relevance
5 ## 1. CFSQueue 介绍7    CFSQueue是用来存放普通进程的调度队列,每个CPU维护一个CFSQueue,主要使用Vec作为主要存储结构来实现。
38 struct CFSQueue { struct49 impl CFSQueue { argument50 pub fn new(idle_pcb: *mut process_control_block) -> CFSQueue { in new() argument51 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() argument143 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()