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),并且将使用近似的平均时间初始化新任务的时钟。
Dequeue_task: When a task is no longer runnable, this function is called to keep the corresponding scheduling entity out of the red-black tree. It decrements the nr_running variable.
dequeue _ task:当某个任务退出可运行状态时调用该函数,它将从红黑树中去掉对应的调度实体,并从nr_running变量中减1。
Dequeue_task: When a task is no longer runnable, this function is called to keep the corresponding scheduling entity out of the red-black tree. It decrements the nr_running variable.
dequeue _ task:当某个任务退出可运行状态时调用该函数,它将从红黑树中去掉对应的调度实体,并从nr_running变量中减1。
应用推荐