Home
last modified time | relevance | path

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

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