|| ||Tejun Heo <email@example.com> |
|| ||Linus Torvalds <firstname.lastname@example.org>,
Arjan van de Ven <email@example.com>,
Dan Williams <firstname.lastname@example.org> |
|| ||[PATCHSET] async: reimplement synchronization |
|| ||Fri, 18 Jan 2013 16:39:23 -0800|
|| ||Article, Thread
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.
This patchset contains the following four patches.
0001 is a prep patch. 0002 fixes a theoretical problem, which also
helps the reimplemntation.
0003-0004 reimplement synchronization.
This patch is on top of linus#master and "[PATCH] async: fix
Once the __lowest_in_progress() fix patch is merged, I can route this
series through a workqueue branch for 3.9.
include/linux/async.h | 9 --
kernel/async.c | 151 ++++++++++++++++++--------------------------------
2 files changed, 59 insertions(+), 101 deletions(-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/