lkml.org 
[lkml]   [2013]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHSET] async: reimplement synchronization
On Fri, Jan 18, 2013 at 04:39:23PM -0800, Tejun Heo wrote:
> Synchronization in async got messy as more features were added and
> while being converted to workqueue. It currently has a global list of
> pending async items and per-domain running lists. Per-domain sync has
> to search through the global pending list and global sync has to
> iterate over all active registered domains.
>
> This patchset reimplements async synchronization such that async items
> stay on two pending lists - global and per-domain - the whole time
> till completion, which simplifies both execution and synchronization.
> There's no need to moving around items on execution and both domain
> and global sync can look at the head of the list to determine the
> lowest cookie in flight.

Applied to wq/for-3.9-async. Thanks.

--
tejun


\
 
 \ /
  Last update: 2013-01-23 19:01    [W:0.128 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site