From patchwork Thu Jun 17 23:14:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Campbell X-Patchwork-Id: 106765 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5HNE8Ru003583 for ; Thu, 17 Jun 2010 23:14:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933011Ab0FQXOQ (ORCPT ); Thu, 17 Jun 2010 19:14:16 -0400 Received: from vpn.pathscale.com ([198.186.3.75]:49326 "HELO mx.mv.qlogic.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with SMTP id S932877Ab0FQXOP (ORCPT ); Thu, 17 Jun 2010 19:14:15 -0400 Received: from chromite.mv.qlogic.com (chromite.mv.qlogic.com [10.29.2.82]) by mx.mv.qlogic.com (Postfix) with ESMTP id 21A8814300AB; Thu, 17 Jun 2010 16:14:15 -0700 (PDT) Received: from chromite.mv.qlogic.com (localhost.localdomain [127.0.0.1]) by chromite.mv.qlogic.com (Postfix) with ESMTP id 16AF81420B0; Thu, 17 Jun 2010 16:14:15 -0700 (PDT) From: Ralph Campbell Subject: [PATCH 7/7] IB/qib: completion queue callback needs to be single threaded To: Roland Dreier Cc: linux-rdma@vger.kernel.org Date: Thu, 17 Jun 2010 16:14:15 -0700 Message-ID: <20100617231414.8006.57924.stgit@chromite.mv.qlogic.com> In-Reply-To: <20100617231338.8006.18131.stgit@chromite.mv.qlogic.com> References: <20100617231338.8006.18131.stgit@chromite.mv.qlogic.com> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 17 Jun 2010 23:14:17 +0000 (UTC) diff --git a/drivers/infiniband/hw/qib/qib_init.c b/drivers/infiniband/hw/qib/qib_init.c index 1d4db4b..7831ff8 100644 --- a/drivers/infiniband/hw/qib/qib_init.c +++ b/drivers/infiniband/hw/qib/qib_init.c @@ -1059,7 +1059,7 @@ static int __init qlogic_ib_init(void) goto bail_dev; } - qib_cq_wq = create_workqueue("qib_cq"); + qib_cq_wq = create_singlethread_workqueue("qib_cq"); if (!qib_cq_wq) { ret = -ENOMEM; goto bail_wq;