commit | 23cd4716b7e2792f1fdc31b83feb9e9a9812c25f | [log] [tgz] |
---|---|---|
author | Vennila Megavannan <vennila.megavannan@intel.com> | Wed Feb 03 14:34:23 2016 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Thu Mar 10 20:37:53 2016 -0500 |
tree | 3481d241995d44c9fbdc73eaaa07460a0c384796 | |
parent | f1bf29634057f56507945589aa40c96c649073ee [diff] |
staging/rdma/hfi1: Allow a fair scheduling of QPs This patch fixes the fairness issues in QP scheduling - the timeout for cond_resched is changed to a ratio of qp->timeout_jiffies - workqueue_congested is used to determine if qp needs to reschedule itself Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Vennila Megavannan <vennila.megavannan@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>