commit | b421922e66db43ffccb28a7df7c44263a917ba63 | [log] [tgz] |
---|---|---|
author | Dean Luick <dean.luick@intel.com> | Mon Oct 26 10:28:35 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 27 17:19:22 2015 +0900 |
tree | cce4e8cb44446bb9a23100e53a2caf69dbde66f7 | |
parent | c91b4a126a801e93c3b569775926699dc291b6c1 [diff] |
staging/rdma/hfi1: Add a schedule in send thread When under heavy load, the send handler can run too long without allowing other tasks to run. Add a conditional resched to break this up. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>