lkml.org 
[lkml]   [2014]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFD PATCH 01/10] sched: add io latency framework
From
> 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


\
 
 \ /
  Last update: 2014-10-28 05:01    [W:0.097 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site