[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160717.222758.2271369406708475258.davem@davemloft.net>
Date: Sun, 17 Jul 2016 22:27:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bhaktipriya96@...il.com
Cc: lars.persson@...s.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, tj@...nel.org
Subject: Re: [PATCH] dwc_eth_qos: Remove deprecated
create_singlethread_workqueue
From: Bhaktipriya Shridhar <bhaktipriya96@...il.com>
Date: Sat, 16 Jul 2016 13:53:28 +0530
> alloc_workqueue replaces deprecated create_singlethread_workqueue().
>
> A dedicated workqueue has been used since the workitem viz
> lp->txtimeout_reinit is involved in reinitialization if a TX timeout
> occurs, which is necessary to guarantee forward progress in packet
> processing. As a network device can be used during memory reclaim, the
> workqueue needs forward progress guarantee under memory pressure.
> WQ_MEM_RECLAIM has been set to ensure this.
>
> Since there is only a single work item, explicit concurrency limit is
> unnecessary here.
>
> Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@...il.com>
Applied.
Powered by blists - more mailing lists