[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160726.151921.304567441512097113.davem@davemloft.net>
Date: Tue, 26 Jul 2016 15:19:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bhaktipriya96@...il.com
Cc: matanb@...lanox.com, leonro@...lanox.com, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
tj@...nel.org
Subject: Re: [PATCH v2] net/mlx5_core/health: Remove deprecated
create_singlethread_workqueue
From: Bhaktipriya Shridhar <bhaktipriya96@...il.com>
Date: Tue, 26 Jul 2016 22:38:24 +0530
> The workqueue health->wq was used as per device private health thread.
> This was done to perform delayed work.
>
> The workqueue has a single workitem(&health->work) and
> hence doesn't require ordering. It is involved in handling the health of
> the device and is not being used on a memory reclaim path.
> Hence, the singlethreaded workqueue has been replaced with the use of
> system_wq.
>
> Work item has been flushed in mlx5_health_cleanup() to ensure that
> there are no pending tasks while disconnecting the driver.
>
> Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@...il.com>
Applied.
Powered by blists - more mailing lists