lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFNHFT8AWParnHXjTrGmCXNy2UaY_+XQjknzM8ZUj+pSL4OJMQ@mail.gmail.com>
Date:	Tue, 28 Jun 2016 22:14:29 +0530
From:	Bhaktipriya Shridhar <bhaktipriya96@...il.com>
To:	Tejun Heo <tj@...nel.org>
Cc:	Thierry Reding <thierry.reding@...il.com>,
	Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
	Arnd Bergmann <arnd@...db.de>,
	Maling list - DRI developers 
	<dri-devel@...ts.freedesktop.org>, linux-tegra@...r.kernel.org,
	"Linux-Kernel@...r. Kernel. Org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] gpu: host1x: hw: intr_hw: Remove create_workqueue

Ping!
Thanks,
Bhaktipriya


On Mon, Jun 20, 2016 at 8:41 PM, Tejun Heo <tj@...nel.org> wrote:
> On Sat, Jun 18, 2016 at 02:36:32PM +0530, Bhaktipriya Shridhar wrote:
>> System workqueues have been able to handle high level of concurrency
>> for a long time now and there's no reason to use dedicated workqueues
>> just to gain concurrency. Since the workqueue host->intr_wq is involved
>> in sync point interrupts, and sync point wait and is not being used on
>> a memory reclaim path, dedicated host->intr_wq has been replaced with the
>> use of system_wq.
>>
>> Unlike a dedicated per-cpu workqueue created with create_workqueue(),
>> system_wq allows multiple work items to overlap executions even on
>> the same CPU; however, a per-cpu workqueue doesn't have any CPU
>> locality or global ordering guarantees unless the target CPU is
>> explicitly specified and thus the increase of local concurrency
>> shouldn't make any difference.
>>
>> cancel_work_sync() has been used  in _host1x_free_syncpt_irq() to ensure
>> that no work is pending by the time exit path runs.
>
> Alternatively, this could have used alloc_workqueue() w/o
> WQ_MEM_RECLAIM and used it just as a flush domain.  Either way is
> fine.
>
> Acked-by: Tejun Heo <tj@...nel.org>
>
> Thanks.
>
> --
> tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ