Oleg Nesterov
8448502cfc
workqueues: do CPU_UP_CANCELED if CPU_UP_PREPARE fails
...
The bug was pointed out by Akinobu Mita <akinobu.mita@gmail.com>, and this
patch is based on his original patch.
workqueue_cpu_callback(CPU_UP_PREPARE) expects that if it returns
NOTIFY_BAD, _cpu_up() will send CPU_UP_CANCELED then.
However, this is not true since
"cpu hotplug: cpu: deliver CPU_UP_CANCELED only to NOTIFY_OKed callbacks with CPU_UP_PREPARE"
commit: a0d8cdb652d35af9319a9e0fb7134de2a276c636
The callback which has returned NOTIFY_BAD will not receive
CPU_UP_CANCELED. Change the code to fulfil the CPU_UP_CANCELED logic if
CPU_UP_PREPARE fails.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Reported-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-25 10:53:41 -07:00
..
2008-07-25 10:53:29 -07:00
2008-07-24 10:47:24 -07:00
2008-07-24 12:55:01 -07:00
2008-07-18 22:02:57 +02:00
2008-03-24 19:22:20 -07:00
2008-05-17 03:30:23 -04:00
2008-06-24 23:36:35 -04:00
2008-04-28 06:28:04 -04:00
2008-06-24 23:36:35 -04:00
2008-07-23 17:47:32 -07:00
2008-06-27 18:09:16 +02:00
2008-04-29 08:06:29 -07:00
2008-07-24 10:47:22 -07:00
2008-04-29 08:06:09 -07:00
2008-07-25 10:53:37 -07:00
2008-05-01 08:03:59 -07:00
2008-04-29 08:06:22 -07:00
2008-07-25 10:53:40 -07:00
2008-07-25 10:53:38 -07:00
2008-04-29 08:06:22 -07:00
2008-07-22 19:24:31 +10:00
2008-07-25 10:53:40 -07:00
2008-07-25 10:53:39 -07:00
2008-03-30 14:18:41 -07:00
2008-06-23 13:31:15 +02:00
2008-07-15 21:55:59 +02:00
2008-07-25 10:53:27 -07:00
2008-07-23 11:18:28 +02:00
2008-05-01 08:04:00 -07:00
2008-06-24 10:52:55 -05:00
2008-07-25 10:53:28 -07:00
2008-07-25 10:53:30 -07:00
2008-07-18 18:46:58 +02:00
2008-04-29 08:06:22 -07:00
2008-06-24 01:28:20 +02:00
2008-06-24 01:28:20 +02:00
2008-07-14 14:55:13 -07:00
2008-07-25 10:53:27 -07:00
2008-05-23 22:25:27 +02:00
2008-07-22 19:24:28 +10:00
2008-05-16 16:53:35 +02:00
2008-06-10 11:45:09 +02:00
2008-04-29 08:06:13 -07:00
2008-07-25 10:53:37 -07:00
2008-07-25 10:53:37 -07:00
2008-07-25 10:53:29 -07:00
2008-04-30 08:29:49 -07:00
2008-05-19 10:01:37 +02:00
2008-07-02 15:06:24 -06:00
2008-05-24 18:49:22 +02:00
2008-07-25 10:53:38 -07:00
2008-07-25 10:53:29 -07:00
2008-07-25 10:53:27 -07:00
2008-07-16 18:02:33 -07:00
2008-07-16 00:29:07 +02:00
2008-07-15 14:12:03 -07:00
2008-05-19 10:03:39 +02:00
2008-07-16 00:29:07 +02:00
2008-06-26 09:24:33 +02:00
2008-05-28 14:49:27 +02:00
2008-07-25 10:53:36 -07:00
2008-04-29 08:06:22 -07:00
2008-07-21 21:55:02 -07:00
2008-07-14 12:19:13 +02:00
2008-06-06 15:19:28 +02:00
2008-06-06 15:19:44 +02:00
2008-06-27 14:31:31 +02:00
2008-07-23 19:36:53 -07:00
2008-06-27 14:31:47 +02:00
2008-05-05 23:56:17 +02:00
2008-07-24 12:53:51 -07:00
2008-07-04 12:50:23 +02:00
2008-07-23 19:36:53 -07:00
2008-07-01 10:14:06 +02:00
2008-07-25 10:53:39 -07:00
2008-07-15 14:12:20 -07:00
2008-07-18 19:53:16 +02:00
2008-07-05 08:51:24 +02:00
2008-05-23 20:39:40 +02:00
2008-06-30 09:20:55 +02:00
2008-07-18 22:02:57 +02:00
2008-07-25 10:53:26 -07:00
2008-07-25 10:53:28 -07:00
2008-07-25 10:53:29 -07:00
2008-05-23 18:35:12 +02:00
2008-05-02 16:18:42 -07:00
2008-05-02 16:18:42 -07:00
2008-07-14 16:06:58 -07:00
2008-04-10 17:28:26 -07:00
2008-04-29 08:06:07 -07:00
2008-04-30 08:29:53 -07:00
2008-04-29 08:06:04 -07:00
2008-07-25 10:53:41 -07:00