Messages in this thread | | | Date | Mon, 27 Oct 2014 23:19:49 -0400 | Subject | Re: [RFD PATCH 01/10] sched: add io latency framework | From | Len Brown <> |
| |
> There is a rb tree per cpu. Each time a task is blocked on an IO, it > is inserted into the tree. When the IO is complete and the task is > woken up, its avg latency is updated with the time spent to wait the > IO and it is removed from the tree. The next time, it will be inserted > into the tree again in case of io_schedule.
Is there an assumption built-in here that the device interrupt is targeted at the same CPU as where the task is queued?
thanks, Len Brown, Intel Open Source Technology Center
| |