博客园  :: 首页  :: 联系 :: 管理

2012年12月16日

摘要: 进程调度三个组件:调度器、调度器类、上下文切换。struct task_struct { ... int prio, static_prio, normal_prio; unsignedintrt_priority; struct list_head run_list; conststruct sched_class *sched_class; struct sched_entity se; //调度器不限于调度进程,可以处理更大的实体(组调度)。因此要求调度器不直接处理进程,而是处理se. unsignedintpolicy; cpumask_t cpus_allowed; //sched_ 阅读全文

posted @ 2012-12-16 19:07 Apprentice89 阅读(1199) 评论(0) 推荐(0) 编辑