Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1445931

Re: [PATCH] drm/ttm: Remove create_singlethread_workqueue

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] drm/ttm: Remove create_singlethread_workqueue
Date 2016-07-19 01:50 +0200
Message-ID <rWqsq-4uI-15@gated-at.bofh.it> (permalink)
References <rVt90-1qC-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>

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

Thanks.

-- 
tejun

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] drm/ttm: Remove create_singlethread_workqueue Bhaktipriya Shridhar <bhaktipriya96@gmail.com> - 2016-07-16 10:30 +0200
  Re: [PATCH] drm/ttm: Remove create_singlethread_workqueue Tejun Heo <tj@kernel.org> - 2016-07-19 01:50 +0200

csiph-web