diff options
author | Tejun Heo <tj@kernel.org> | 2012-08-03 17:30:46 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-08-03 17:30:46 (GMT) |
commit | 715f1300802e6eaefa85f6cfc70ae99af3d5d497 (patch) | |
tree | 1348231ae08bcb722e860aebe2e46a0565a86fd7 /kernel/backtracetest.c | |
parent | 57469821fd5c61f25f783827d7334063cff67d65 (diff) | |
download | linux-715f1300802e6eaefa85f6cfc70ae99af3d5d497.tar.xz |
workqueue: fix zero @delay handling of queue_delayed_work_on()
If @delay is zero and the dealyed_work is idle, queue_delayed_work()
queues it for immediate execution; however, queue_delayed_work_on()
lacks this logic and always goes through timer regardless of @delay.
This patch moves 0 @delay handling logic from queue_delayed_work() to
queue_delayed_work_on() so that both functions behave the same.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/backtracetest.c')
0 files changed, 0 insertions, 0 deletions