public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leonro@mellanox.com>
To: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Cc: Yishai Hadas <yishaih@mellanox.com>,
	Doug Ledford <dledford@redhat.com>,
	Sean Hefty <sean.hefty@intel.com>,
	Hal Rosenstock <hal.rosenstock@gmail.com>,
	Jason Gunthorpe <jgunthorpe@obsidianresearch.com>,
	Chuck Lever <chuck.lever@oracle.com>,
	Mark Bloch <markb@mellanox.com>,
	Hans Westgaard Ry <hans.westgaard.ry@oracle.com>,
	Christoph Lameter <cl@linux.com>,
	Erez Shitrit <erezsh@mellanox.com>,
	Haggai Eran <haggaie@mellanox.com>,
	Florian Westphal <fw@strlen.de>, Guy Shapiro <guysh@mellanox.com>,
	Eli Cohen <eli@mellanox.com>, Or Gerlitz <ogerlitz@mellanox.com>,
	Faisal Latif <faisal.latif@intel.com>,
	Matan Barak <matanb@mellanox.com>,
	Chien Tin Tung <chien.tin.tung@intel.com>,
	Mustafa Ismail <mustafa.ismail@intel.com>,
	Shiraz Saleem <shiraz.saleem@intel.com>,
	Tatyana Nikolova <tatyana.e.nikolova@intel.com>,
	Steve Wise <swise@chelsio.com>,
	Mike Marciniszyn <infinipath@intel.com>,
	Bart Van Assche <bart.vanassche@sandisk.com>,
	Yotam Kenneth <yotamke@mellanox.com>,
	Somnath Kotur <Somnath.Kotur@Avagotech.Com>,
	Moni Shoua <monis@mellanox.com>,
	Shachar Raindel <raindel@mellanox.com>,
	Parav Pandit <pandit.parav@gmail.com>,
	Sagi Grimberg <sagi@grimberg.me>,
	Christoph Hellwig <hch@infradead.org>,
	Dean Luick <dean.luick@intel.com>,
	Ira Weiny <ira.weiny@intel.com>, Kaike Wan <kaike.wan@intel.com>,
	linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
	Tejun Heo <tj@kernel.org>
Subject: Re: [PATCH 15/22] IB/mlx5/odp: Remove deprecated create_singlethread_workqueue
Date: Fri, 19 Aug 2016 18:49:20 +0300	[thread overview]
Message-ID: <20160819154920.GI18515@leon.nu> (raw)
In-Reply-To: <fdc8a637db52a5ea829309bf52afec7e1825bafd.1471283717.git.bhaktipriya96@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1464 bytes --]

On Mon, Aug 15, 2016 at 11:42:19PM +0530, Bhaktipriya Shridhar wrote:
> alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces
> deprecated create_singlethread_workqueue(). This is the identity
> conversion.
> 
> The workqueue "mlx5_ib_page_fault_wq" queues work item &qp_pfault->work.
> It has been identity converted.
> 
> WQ_MEM_RECLAIM has been set to ensure forward progress under
> memory pressure.
> 
> Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>

Thanks,
Acked-by: Leon Romanovsky <leonro@mellanox.com>

> ---
>  drivers/infiniband/hw/mlx5/odp.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/infiniband/hw/mlx5/odp.c b/drivers/infiniband/hw/mlx5/odp.c
> index 34e79e7..cacb631 100644
> --- a/drivers/infiniband/hw/mlx5/odp.c
> +++ b/drivers/infiniband/hw/mlx5/odp.c
> @@ -782,8 +782,8 @@ void mlx5_ib_odp_remove_one(struct mlx5_ib_dev *ibdev)
> 
>  int __init mlx5_ib_odp_init(void)
>  {
> -	mlx5_ib_page_fault_wq =
> -		create_singlethread_workqueue("mlx5_ib_page_faults");
> +	mlx5_ib_page_fault_wq = alloc_ordered_workqueue("mlx5_ib_page_faults",
> +							WQ_MEM_RECLAIM);
>  	if (!mlx5_ib_page_fault_wq)
>  		return -ENOMEM;
> 
> --
> 2.1.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-08-19 15:49 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-15 17:57 [PATCH 00/22] Remove deprecated create_workqueue instances Bhaktipriya Shridhar
2016-08-15 17:57 ` [PATCH 01/22] IB/sa : Remove deprecated create_singlethread_workqueue Bhaktipriya Shridhar
2016-08-15 17:58 ` [PATCH 02/22] IB/mad: " Bhaktipriya Shridhar
2016-08-15 17:58 ` [PATCH 03/22] IB/multicast: " Bhaktipriya Shridhar
2016-08-15 17:59 ` [PATCH 04/22] IB/ucma: " Bhaktipriya Shridhar
2016-08-15 17:59 ` [PATCH 05/22] IB/cma: " Bhaktipriya Shridhar
2016-08-16 18:21   ` Steve Wise
2016-08-15 18:00 ` [PATCH 06/22] IB/addr: " Bhaktipriya Shridhar
2016-08-15 18:07 ` [PATCH 07/22] IB/iwcm: " Bhaktipriya Shridhar
2016-08-16 18:20   ` Steve Wise
2016-08-15 18:08 ` [PATCH 08/22] iw_cxgb3: " Bhaktipriya Shridhar
2016-08-16 18:19   ` Steve Wise
2016-08-15 18:08 ` [PATCH 09/22] IB/qib: " Bhaktipriya Shridhar
2016-08-16 17:32   ` Marciniszyn, Mike
2016-08-15 18:09 ` [PATCH 10/22] iw_cxgb4: " Bhaktipriya Shridhar
2016-08-16 18:19   ` Steve Wise
2016-08-15 18:09 ` [PATCH 11/22] IB/mthca: " Bhaktipriya Shridhar
2016-08-15 18:10 ` [PATCH 12/22] i40iw_main: " Bhaktipriya Shridhar
2016-08-15 18:10 ` [PATCH 13/22] i40iw_cm: " Bhaktipriya Shridhar
2016-08-15 18:11 ` [PATCH 14/22] IB/mlx5: " Bhaktipriya Shridhar
2016-08-19 15:44   ` Leon Romanovsky
2016-08-19 15:46   ` Leon Romanovsky
2016-08-15 18:12 ` [PATCH 15/22] IB/mlx5/odp: " Bhaktipriya Shridhar
2016-08-19 15:49   ` Leon Romanovsky [this message]
2016-08-15 18:12 ` [PATCH 16/22] IB/mlx4: " Bhaktipriya Shridhar
2016-08-19 15:43   ` Leon Romanovsky
2016-08-15 18:13 ` [PATCH 17/22] IB/mlx4/mad: " Bhaktipriya Shridhar
2016-08-19 15:50   ` Leon Romanovsky
2016-08-15 18:13 ` [PATCH 18/22] IB/mlx4/mcg: " Bhaktipriya Shridhar
2016-08-19 15:50   ` Leon Romanovsky
2016-08-15 18:14 ` [PATCH 19/22] IB/nes: " Bhaktipriya Shridhar
2016-08-15 18:14 ` [PATCH 20/22] IB/ipoib: " Bhaktipriya Shridhar
2016-08-15 18:14 ` [PATCH 21/22] IB/ipoib_verbs: " Bhaktipriya Shridhar
2016-08-15 18:15 ` [PATCH 22/22] IB/mlx4/alias_GUID: " Bhaktipriya Shridhar
2016-08-19 15:51   ` Leon Romanovsky
2016-08-15 23:11 ` [PATCH 00/22] Remove deprecated create_workqueue instances Tejun Heo
2016-08-19 15:48 ` Leon Romanovsky
2016-09-16 17:26 ` Doug Ledford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160819154920.GI18515@leon.nu \
    --to=leonro@mellanox.com \
    --cc=Somnath.Kotur@Avagotech.Com \
    --cc=bart.vanassche@sandisk.com \
    --cc=bhaktipriya96@gmail.com \
    --cc=chien.tin.tung@intel.com \
    --cc=chuck.lever@oracle.com \
    --cc=cl@linux.com \
    --cc=dean.luick@intel.com \
    --cc=dledford@redhat.com \
    --cc=eli@mellanox.com \
    --cc=erezsh@mellanox.com \
    --cc=faisal.latif@intel.com \
    --cc=fw@strlen.de \
    --cc=guysh@mellanox.com \
    --cc=haggaie@mellanox.com \
    --cc=hal.rosenstock@gmail.com \
    --cc=hans.westgaard.ry@oracle.com \
    --cc=hch@infradead.org \
    --cc=infinipath@intel.com \
    --cc=ira.weiny@intel.com \
    --cc=jgunthorpe@obsidianresearch.com \
    --cc=kaike.wan@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=markb@mellanox.com \
    --cc=matanb@mellanox.com \
    --cc=monis@mellanox.com \
    --cc=mustafa.ismail@intel.com \
    --cc=ogerlitz@mellanox.com \
    --cc=pandit.parav@gmail.com \
    --cc=raindel@mellanox.com \
    --cc=sagi@grimberg.me \
    --cc=sean.hefty@intel.com \
    --cc=shiraz.saleem@intel.com \
    --cc=swise@chelsio.com \
    --cc=tatyana.e.nikolova@intel.com \
    --cc=tj@kernel.org \
    --cc=yishaih@mellanox.com \
    --cc=yotamke@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox