CFS 去掉了 struct prio_array,并引入调度实体(scheduling entity)和调度类 (scheduling classes),分别由 struct sched_entity 和 struct sched_class 定义。
基于20个网页-相关网页
A scheduling entity might not be associated with a process.
调度实体可能与进程没有关联。
It puts the scheduling entity (process) into the red-black tree and increments the nr_running variable.
它将调度实体(进程)放入红黑树中,并对nr_running变量加1。
A clock per task (scheduling entity), vruntime, will be introduced (wall_time/task_weight) and an approximated average initializes the clock of a new task.
将引入每个任务(调度实体)的时钟 vruntime(wall_time/task_weight),并且将使用近似的平均时间初始化新任务的时钟。
应用推荐