Files
kernel/include/linux
Oleg Nesterov 1f1f642e2f make cancel_xxx_work_sync() return a boolean
Change cancel_work_sync() and cancel_delayed_work_sync() to return a boolean
indicating whether the work was actually cancelled.  A zero return value means
that the work was not pending/queued.

Without that kind of change it is not possible to avoid flush_workqueue()
sometimes, see the next patch as an example.

Also, this patch unifies both functions and kills the (unlikely) busy-wait
loop.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Jarek Poplawski <jarkao2@o2.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 09:05:51 -07:00
..
2007-07-12 15:41:24 -07:00
2007-06-16 13:16:16 -07:00
2007-07-13 08:06:14 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:46 -07:00
2007-07-09 08:22:54 +01:00
2007-07-09 08:23:17 +01:00
2007-07-11 16:09:00 -07:00
2007-07-12 10:55:56 -07:00
2007-07-16 09:05:45 -07:00
2007-07-16 09:05:41 -07:00
2007-06-18 09:48:41 -07:00
2007-07-10 00:35:17 -04:00
2007-07-09 18:51:58 +02:00
2007-07-09 23:17:58 +02:00
2007-07-16 09:05:34 -07:00
2007-07-10 22:15:03 -07:00
2007-07-14 18:55:06 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:47 -07:00
2007-07-10 22:16:44 -07:00
2007-07-16 09:05:46 -07:00
2007-07-10 22:15:26 -07:00
2007-07-10 21:30:33 -04:00
2007-07-16 09:05:34 -07:00
2007-07-16 09:05:45 -07:00
2007-07-16 09:05:42 -07:00
2007-07-10 17:33:05 +01:00
2007-07-16 09:05:51 -07:00
2007-07-14 18:55:06 -07:00
2007-07-16 09:05:40 -07:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:46 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:45 -07:00
2007-07-16 09:05:46 -07:00
2007-07-16 09:05:40 -07:00
2007-07-16 09:05:41 -07:00
2007-07-16 09:05:47 -07:00
2007-07-12 16:34:40 -07:00
2007-07-16 09:05:47 -07:00
2007-07-09 18:52:01 +02:00