summaryrefslogtreecommitdiffstats
path: root/Documentation/c2port.txt
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2009-09-05 20:17:06 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-05 20:30:42 +0200
commit4e49627b9bc29a14b393c480e8c979e3bc922ef7 (patch)
tree209b69da65abbbffb7abeaea60f17d46f38485fe /Documentation/c2port.txt
parentautofs4 - fix missed case when changing to use struct path (diff)
downloadlinux-4e49627b9bc29a14b393c480e8c979e3bc922ef7.tar.xz
linux-4e49627b9bc29a14b393c480e8c979e3bc922ef7.zip
workqueues: introduce __cancel_delayed_work()
cancel_delayed_work() has to use del_timer_sync() to guarantee the timer function is not running after return. But most users doesn't actually need this, and del_timer_sync() has problems: it is not useable from interrupt, and it depends on every lock which could be taken from irq. Introduce __cancel_delayed_work() which calls del_timer() instead. The immediate reason for this patch is http://bugzilla.kernel.org/show_bug.cgi?id=13757 but hopefully this helper makes sense anyway. As for 13757 bug, actually we need requeue_delayed_work(), but its semantics are not yet clear. Merge this patch early to resolves cross-tree interdependencies between input and infiniband. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Roland Dreier <rdreier@cisco.com> Cc: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/c2port.txt')
0 files changed, 0 insertions, 0 deletions