diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2016-03-07 11:35:30 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-17 15:55:20 -0400 |
commit | 60df29581f67e06791a176641c774515ec1634e5 (patch) | |
tree | 06c4e9587bcdd2ce69d3efd7696b4ac30d83e71f /drivers/staging/dgap | |
parent | 5326dfbf005ca8589d709209a81d145c5b87b23d (diff) |
IB/hfi1: Fix PIO wakeup timing hole
There is a timing hole if there had been greater than
PIO_WAIT_BATCH_SIZE waiters. This code will dispatch the first
batch but leave the others in the queue. If the restarted waiters
don't in turn wait on a buffer, there is a hang.
Fix by forcing a return when the QP queue is non-empty.
Reviewed-by: Vennila Megavannan <vennila.megavannan@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/dgap')
0 files changed, 0 insertions, 0 deletions