- 论坛徽章:
- 0
|
本帖最后由 Fleurer 于 2013-06-15 21:37 编辑
2.6.3 节最后一段:
However, if the sleeper has accumulated a large unfairness as indicated by a large se_vruntime value, the kernel must honor this. If se->vruntime is larger than the previously computed difference, it is kept as the vruntime of the process, which leads to a leftward placement on the red-black tree — recall that large vruntime values are good to schedule early!
这一段感觉不大合常理,横竖看不明白。有两个疑惑:
- 大的se_vruntime意味着不公平?
- 大的vruntime更容易被调度执行?
ps: 原书英文版可以在这里下载: http://www.e-reading-lib.org/boo ... el_architecture.pdf
update: sorry, 发现版里已经有讨论过这个问题了:http://bbs.chinaunix.net/thread-2314509-1-1.html |
|