Home
last modified time | relevance | path

Searched refs:cpu_queue (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.7/kernel/src/sched/
Dcfs.rs110 cpu_queue: Vec<&'static mut CFSQueue>, field
118 cpu_queue: Default::default(), in new()
124 .cpu_queue in new()
128 result.cpu_queue[0].idle_pcb = unsafe { &mut initial_proc_union.pcb }; in new()
144 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies()
162 let cpu_queue = &mut self.cpu_queue[pcb.cpu_id as usize]; in enqueue_reset_vruntime() localVariable
163 if cpu_queue.queue.len() > 0 { in enqueue_reset_vruntime()
164 pcb.virtual_runtime = cpu_queue.min_vruntime().unwrap(); in enqueue_reset_vruntime()
167 cpu_queue.enqueue(pcb); in enqueue_reset_vruntime()
173 self.cpu_queue[cpu_id].idle_pcb = pcb; in set_cpu_idle()
[all …]
Drt.rs101 cpu_queue: Vec<Vec<&'static mut RTQueue>>, field
113 cpu_queue: Default::default(), in new()
119 result.cpu_queue.push(Vec::new()); in new()
122 result.cpu_queue[cpu_id as usize].push(Box::leak(Box::new(RTQueue::new()))); in new()
139 let cpu_queue_i: &mut RTQueue = self.cpu_queue[cpu_id as usize][i as usize]; in pick_next_task_rt()
152 sum += self.cpu_queue[cpu_id as usize][prio as usize].get_rt_queue_size(); in rt_queue_len()
164 self.cpu_queue[pcb.cpu_id as usize][pcb.priority as usize].enqueue_front(pcb); in enqueue_front()
210 self.cpu_queue[cpu_id as usize][proc.cpu_id as usize].enqueue_front(proc); in sched()
218 let cpu_queue = &mut self.cpu_queue[pcb.cpu_id as usize]; in enqueue() localVariable
219 cpu_queue[cpu_id as usize].enqueue(pcb); in enqueue()
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/
DV0.1.6.md52 - scheduler: 解决由于在中断上下文以外,sched_enqueue时,未关中断导致cpu_queue双重加锁的问题 (#201)
305 解决由于在中断上下文以外,sched_enqueue时,未关中断导致cpu_queue双重加锁的问题 (#201)