diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-05-28 16:51:31 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-05-28 17:34:02 (GMT) |
commit | a3ce6ea46cc0d6397d1b92b1a5983bb2935306ed (patch) | |
tree | 290d6ca606ad960fda685992b6a087cc6b56c1e1 /kernel/latencytop.c | |
parent | 346a850e3c3a20159cef2b79235e6d34aa497c65 (diff) | |
download | linux-fsl-qoriq-a3ce6ea46cc0d6397d1b92b1a5983bb2935306ed.tar.xz |
Input: libps2 - better handle bad scheduler decisions
Sometimes devices send us their responses in time but due to
unfortunate scheduling decisions the receiving thread does not
get scheduled till much later and we erroneously decide that
device timed out. Work around this problem by checking whether we
received the data we needed instead of checking timeout
condition.
Tested-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'kernel/latencytop.c')
0 files changed, 0 insertions, 0 deletions