Re: [RFC] net/mlx5_core/en_main: Remove deprecated create_workqueue

2016-07-29 Thread Tejun Heo
Hello, On Fri, Jul 29, 2016 at 01:30:05AM +0300, Saeed Mahameed wrote: > > Are the workitems being used on a memory reclaim path? > > do you mean they need to allocate memory ? It's a bit convoluted. A workqueue needs WQ_MEM_RECLAIM flag to be guaranteed forward progress under memory pressure,

Re: [RFC] net/mlx5_core/en_main: Remove deprecated create_workqueue

2016-07-28 Thread Saeed Mahameed
On Wed, Jul 27, 2016 at 9:12 AM, Bhaktipriya Shridhar wrote: > alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces > deprecated create_singlethread_workqueue(). This is the identity > conversion. > > A dedicated workqueue has been used since mlx5e workqueue was created to > handle all mlx5e

[RFC] net/mlx5_core/en_main: Remove deprecated create_workqueue

2016-07-26 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces deprecated create_singlethread_workqueue(). This is the identity conversion. A dedicated workqueue has been used since mlx5e workqueue was created to handle all mlx5e specific tasks. This is in preparation for vxlan using the mlx5e workque