aliyun/plugsched

Dying tasks not processed by sched rebuild

Closed this issue · 0 comments

Dying tasks are tasks that,

  • Already removed from tasklist
  • Not dequeued from runqueue yet.

These tasks are now ignored by sched rebuild. We should use pick_next_task as an iterator, so that we can traverse all dying tasks. And rebuild their stat accordingly.