Messages in this thread | | | Date | Wed, 23 Jan 2013 09:33:30 -0800 | From | Tejun Heo <> | Subject | Re: [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
| |