[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160718234136.GP3078@mtj.duckdns.org>
Date: Mon, 18 Jul 2016 19:41:36 -0400
From: Tejun Heo <tj@...nel.org>
To: Bhaktipriya Shridhar <bhaktipriya96@...il.com>
Cc: David Airlie <airlied@...ux.ie>, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/ttm: Remove create_singlethread_workqueue
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@...il.com>
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
Powered by blists - more mailing lists