diff options
author | Tejun Heo <tj@kernel.org> | 2010-06-29 10:07:12 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-06-29 10:07:12 +0200 |
commit | affee4b294a0fc97d67c8a77dc080c4dd262a79e (patch) | |
tree | 5b3fd79640ad7940e0abbed193a192d3919f259d /kernel/padata.c | |
parent | c34056a3fdde777c079cc8a70785c2602f2586cb (diff) | |
download | op-kernel-dev-affee4b294a0fc97d67c8a77dc080c4dd262a79e.zip op-kernel-dev-affee4b294a0fc97d67c8a77dc080c4dd262a79e.tar.gz |
workqueue: reimplement work flushing using linked works
A work is linked to the next one by having WORK_STRUCT_LINKED bit set
and these links can be chained. When a linked work is dispatched to a
worker, all linked works are dispatched to the worker's newly added
->scheduled queue and processed back-to-back.
Currently, as there's only single worker per cwq, having linked works
doesn't make any visible behavior difference. This change is to
prepare for multiple shared workers per cpu.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions