summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2016-05-12 10:23:28 -0700
committerDoug Ledford <dledford@redhat.com>2016-05-13 19:39:17 -0400
commitcdbff5042d69bbe3f9840bea03863c93f93c88fa (patch)
tree1abddfb43165a33c44229f3b8de91d714ce3f63c /drivers
parent02ba00c0bbfbbe8abd81abd38302d400b59e220f (diff)
downloadop-kernel-dev-cdbff5042d69bbe3f9840bea03863c93f93c88fa.zip
op-kernel-dev-cdbff5042d69bbe3f9840bea03863c93f93c88fa.tar.gz
IB/rdmavt: Increase CQ callback thread priority
The priority of the send engines is higher than the CQ completion thread potentially causing completions to be starved for very fast interfaces. Change the CQ kthread to match the send engine threads to minimize this delay for ULP completion processing. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/sw/rdmavt/cq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rdmavt/cq.c b/drivers/infiniband/sw/rdmavt/cq.c
index b1ffc8b..6ca6fa8 100644
--- a/drivers/infiniband/sw/rdmavt/cq.c
+++ b/drivers/infiniband/sw/rdmavt/cq.c
@@ -525,6 +525,7 @@ int rvt_driver_cq_init(struct rvt_dev_info *rdi)
return PTR_ERR(task);
}
+ set_user_nice(task, MIN_NICE);
cpu = cpumask_first(cpumask_of_node(rdi->dparms.node));
kthread_bind(task, cpu);
wake_up_process(task);
OpenPOWER on IntegriCloud