29 Sep
2016
29 Sep
'16
3:32 p.m.
On 27-09-16 17:10, Tatsuyuki Ishi wrote:
The current run/poll_one does polling regardless if there's task in the queue.
If there's task in the queue, polling is just a waste of system call, since there's already a job to do. This is not accurate. You cannot do fair scheduling unless you know the work available. Neglecting some of the work leads to possible starvation of those tasks (imagine if the task in queue posts a new task every time. Your suggestion would **never** poll at all).
Seth