linux内核中队列_将一个进程移入Linux内核中的另一个运行队列后的vruntime是多少...
linux内核中队列
When we do migration, one process will be migrated from one source CPU’s runqueue to destination CPU’s run queue. What is the virtual run time (if CFS is used) after it is moved into destination CPU’s run queue?
进行迁移时,一个进程将从一个源CPU的运行队列迁移到目标CPU的运行队列。 将虚拟移动到目标CPU的运行队列后,其虚拟运行时间是多少(如果使用了CFS)?
When the process is dequeued from source CPU’s run queue, its vruntime will minus the minimum vruntime of source CPU’s run queue.
当进程从源CPU的运行队列中出队时,其vruntime将减去源CPU的运行队列的最小vruntime。
When the process is enqueued destination CPU’s run queue, its vruntime will plus the minimum vruntime of destination CPU’s run queue.
将进程加入目标CPU的运行队列后,其vruntime将加上目标CPU的运行队列的最小vruntime。
enqueue_entity (...) {
...
se->vruntime += cfs_rq->min_vruntime;
...
}
dequeue_entity(...) {
...
se->vruntime -= cfs_rq->min_vruntime;
...
}
linux内核中队列
openEuler 是由开放原子开源基金会孵化的全场景开源操作系统项目,面向数字基础设施四大核心场景(服务器、云计算、边缘计算、嵌入式),全面支持 ARM、x86、RISC-V、loongArch、PowerPC、SW-64 等多样性计算架构
更多推荐


所有评论(0)