diff options
author | Tejun Heo <tj@kernel.org> | 2010-09-16 10:42:16 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-09-19 17:51:05 +0200 |
commit | baf59022c37d43f202e62d5130e4bac5e825b426 (patch) | |
tree | 43eea7aac112b2ee07b195e00bce4b14465d1183 /ipc/shm.c | |
parent | 401a8d048eadfbe1b1c1bf53d3b614fcc894c61a (diff) | |
download | op-kernel-dev-baf59022c37d43f202e62d5130e4bac5e825b426.zip op-kernel-dev-baf59022c37d43f202e62d5130e4bac5e825b426.tar.gz |
workqueue: factor out start_flush_work()
Factor out start_flush_work() from flush_work(). start_flush_work()
has @wait_executing argument which controls whether the barrier is
queued only if the work is pending or also if executing. As
flush_work() needs to wait for execution too, it uses %true.
This commit doesn't cause any behavior difference. start_flush_work()
will be used to implement flush_work_sync().
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions