[PATCH] drm/ttm: Remove create_singlethread_workqueue

Tejun Heo tj at kernel.org
Mon Jul 18 23:41:36 UTC 2016


On Sat, Jul 16, 2016 at 01:50:17PM +0530, Bhaktipriya Shridhar wrote:
> swap_queue was created to handle shrinking in low memory situations.
> A separate workqueue was used in order to avoid other workqueue tasks
> from being blocked since work items on swap_queue spend a lot of time
> waiting for the GPU.
> 
> Since these long-running work items aren't involved in memory reclaim in
> any way, system_long_wq has been used.
> 
> Work item has been flushed in ttm_mem_global_release() to ensure that
> nothing is pending when the driver is disconnected.
> 
> Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96 at gmail.com>

Acked-by: Tejun Heo <tj at kernel.org>

Thanks.

-- 
tejun


More information about the dri-devel mailing list