Home
last modified time | relevance | path

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

/DragonOS-0.1.9/docs/kernel/sched/
Dcfs.md5 ## 1. CFSQueue 介绍
7    CFSQueue是用来存放普通进程的调度队列,每个CPU维护一个CFSQueue,主要使用Vec作为主要存储结构来实现。
/DragonOS-0.1.9/kernel/src/sched/
Dcfs.rs46 struct CFSQueue { struct
55 impl CFSQueue { argument
56 pub fn new(idle_pcb: Arc<ProcessControlBlock>) -> CFSQueue { in new() argument
57 CFSQueue { in new()
113 cpu_queue: Vec<&'static mut CFSQueue>,
129 .push(Box::leak(Box::new(CFSQueue::new(idle_pcb)))); in new()
139 cfs_queue: &mut CFSQueue, in update_cpu_exec_proc_jiffies() argument
141 ) -> &mut CFSQueue { in update_cpu_exec_proc_jiffies() argument
154 let current_cpu_queue: &mut CFSQueue = in timer_update_jiffies()
189 .set_virtual_runtime(CFSQueue::min_vruntime(&queue).unwrap_or(0) as isize) in enqueue_reset_vruntime()
[all …]