Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/sched/
Dcfs.rs113 cpu_queue: Vec<&'static mut CFSQueue>, field
121 cpu_queue: Default::default(), in new()
128 .cpu_queue in new()
155 self.cpu_queue[smp_get_processor_id().data() as usize]; in timer_update_jiffies()
185 let cpu_queue = &mut self.cpu_queue[pcb.sched_info().on_cpu().unwrap().data() as usize]; in enqueue_reset_vruntime() localVariable
186 let queue = cpu_queue.locked_queue.lock_irqsave(); in enqueue_reset_vruntime()
192 cpu_queue.enqueue(pcb); in enqueue_reset_vruntime()
199 self.cpu_queue[cpu_id].idle_pcb = pcb; in set_cpu_idle()
203 let queue = self.cpu_queue[cpu_id.data() as usize] in get_cfs_queue_len()
222 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_cpu_id]; in sched()
[all …]
Drt.rs94 cpu_queue: Vec<Vec<&'static mut RTQueue>>, field
106 cpu_queue: Default::default(), in new()
112 result.cpu_queue.push(Vec::new()); in new()
115 result.cpu_queue[cpu_id as usize].push(Box::leak(Box::new(RTQueue::new()))); in new()
132 let cpu_queue_i: &mut RTQueue = self.cpu_queue[cpu_id.data() as usize][i as usize]; in pick_next_task_rt()
145 sum += self.cpu_queue[cpu_id.data() as usize][prio as usize].get_rt_queue_size(); in rt_queue_len()
160 self.cpu_queue[cpu_id][priority].enqueue_front(pcb); in enqueue_front()
222 self.cpu_queue[cpu_id.data() as usize][priority.data() as usize] in sched()
233 let cpu_queue = &mut self.cpu_queue[cpu_id.data() as usize]; in enqueue() localVariable
235 cpu_queue[priority].enqueue(pcb); in enqueue()
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.6.md52 - scheduler: 解决由于在中断上下文以外,sched_enqueue时,未关中断导致cpu_queue双重加锁的问题 (#201)
305 解决由于在中断上下文以外,sched_enqueue时,未关中断导致cpu_queue双重加锁的问题 (#201)