- 论坛徽章:
- 1
|
本帖最后由 firkraag 于 2013-09-01 17:38 编辑
1. If thread A is busying on processing the pending requests(means it is running), it could not sleep on the wait queue and there is nothing affecting it with the calling of wakeups. Otherwise, it will be wakeup by the call. The penalties will be the calls of wakeup when thread A is running. Many a little makes a mickle, perhaps it will do some native effects on the performance.
2. If you want to reorder the requests quite like the block device i/o request queues do, it can be used for reference.
BTW, the wait queue and request queue are not the same one. |
|