Searched refs:cpu_queue (Results 1 – 3 of 3) sorted by relevance
109 cpu_queue: Vec<&'static mut CFSQueue>, field117 cpu_queue: Default::default(), in new()123 .cpu_queue in new()127 result.cpu_queue[0].idle_pcb = unsafe { &mut initial_proc_union.pcb }; in new()143 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies()161 let cpu_queue = &mut self.cpu_queue[pcb.cpu_id as usize]; in enqueue_reset_vruntime() localVariable162 if cpu_queue.queue.len() > 0 { in enqueue_reset_vruntime()163 pcb.virtual_runtime = cpu_queue.min_vruntime().unwrap(); in enqueue_reset_vruntime()166 cpu_queue.enqueue(pcb); in enqueue_reset_vruntime()172 self.cpu_queue[cpu_id].idle_pcb = pcb; in set_cpu_idle()[all …]
99 cpu_queue: Vec<Vec<&'static mut RTQueue>>, field111 cpu_queue: Default::default(), in new()117 result.cpu_queue.push(Vec::new()); in new()120 result.cpu_queue[cpu_id as usize].push(Box::leak(Box::new(RTQueue::new()))); in new()137 let cpu_queue_i: &mut RTQueue = self.cpu_queue[cpu_id as usize][i as usize]; in pick_next_task_rt()150 sum += self.cpu_queue[cpu_id as usize][prio as usize].get_rt_queue_size(); in rt_queue_len()162 self.cpu_queue[pcb.cpu_id as usize][pcb.priority as usize].enqueue_front(pcb); in enqueue_front()208 self.cpu_queue[cpu_id as usize][proc.cpu_id as usize].enqueue_front(proc); in sched()216 let cpu_queue = &mut self.cpu_queue[pcb.cpu_id as usize]; in enqueue() localVariable217 cpu_queue[cpu_id as usize].enqueue(pcb); in enqueue()
52 - scheduler: 解决由于在中断上下文以外,sched_enqueue时,未关中断导致cpu_queue双重加锁的问题 (#201)305 解决由于在中断上下文以外,sched_enqueue时,未关中断导致cpu_queue双重加锁的问题 (#201)