Lai Jiangshan
7f5b774275
rcu: Fix tracepoints & lockdep false positive
tracepoint.h uses rcu_dereference(), which triggers this warning:
[ 0.701161] ===================================================
[ 0.702211] [ INFO: suspicious rcu_dereference_check() usage. ]
[ 0.702716] ---------------------------------------------------
[ 0.703203] include/trace/events/workqueue.h:68 invoked rcu_dereference_check() without protection!
[ 0.703971] [ 0.703990] other info that might help us debug this:
[ 0.703993]
[ 0.705590]
[ 0.705604] rcu_scheduler_active = 1, debug_locks = 0
[ 0.706712] 1 lock held by swapper/1:
[ 0.707229] #0: (cpu_add_remove_lock){+.+.+.}, at: [<c0142f54>] cpu_maps_update_begin+0x14/0x20
[ 0.710097]
[ 0.710106] stack backtrace:
[ 0.712602] Pid: 1, comm: swapper Not tainted 2.6.34-rc1-tip-01613-g72662bb #168
[ 0.713231] Call Trace:
[ 0.713997] [<c017174d>] lockdep_rcu_dereference+0x9d/0xb0
[ 0.714746] [<c015a117>] create_workqueue_thread+0x107/0x110
[ 0.715353] [<c015aee0>] ? worker_thread+0x0/0x340
[ 0.715845] [<c015a8e8>] __create_workqueue_key+0x138/0x240
[ 0.716427] [<c0142f92>] ? cpu_maps_update_done+0x12/0x20
[ 0.717012] [<c086b12f>] init_workqueues+0x6f/0x80
[ 0.717530] [<c08576d2>] kernel_init+0x102/0x1f0
[ 0.717570] [<c08575d0>] ? kernel_init+0x0/0x1f0
[ 0.718944] [<c01030fa>] kernel_thread_helper+0x6/0x10
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4B9F48AD.4000404@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-03-16 10:10:40 +01:00
..
2010-02-20 14:10:48 +00:00
2010-02-26 05:22:03 -08:00
2010-03-12 15:52:44 -08:00
2010-03-07 22:17:32 +01:00
2010-02-10 23:04:18 -08:00
2010-02-16 16:01:22 -08:00
2010-03-07 22:17:39 +01:00
2010-03-06 11:26:37 -08:00
2010-02-02 13:02:16 +09:00
2010-02-24 18:34:48 +01:00
2010-02-24 18:32:59 +01:00
2010-01-18 08:25:47 +01:00
2010-02-24 18:34:48 +01:00
2010-02-24 18:34:48 +01:00
2010-03-03 14:49:24 +00:00
2010-03-11 00:02:43 -08:00
2010-02-10 08:31:02 -05:00
2010-03-08 07:34:26 -08:00
2010-03-12 15:53:10 -08:00
2010-01-06 16:18:15 -05:00
2010-03-01 15:11:32 -05:00
2010-02-08 14:38:36 -05:00
2010-03-06 11:26:46 -08:00
2010-03-06 11:26:23 -08:00
2010-02-26 13:58:08 +01:00
2010-02-17 11:17:38 +09:00
2010-02-12 09:41:59 -08:00
2010-02-17 17:27:40 -08:00
2010-02-22 13:44:45 +01:00
2010-02-22 13:44:45 +01:00
2010-03-12 15:52:37 -08:00
2010-02-05 14:54:10 +01:00
2010-03-12 15:52:32 -08:00
2010-02-05 07:35:05 -08:00
2010-02-02 15:58:48 -08:00
2010-03-12 15:52:32 -08:00
2010-03-06 11:26:29 -08:00
2010-03-04 11:46:14 +01:00
2010-02-04 13:29:53 -08:00
2010-03-06 02:32:27 +00:00
2010-03-07 17:04:52 -08:00
2010-02-05 12:22:34 +01:00
2010-03-06 02:32:33 +00:00
2010-03-06 02:32:31 +00:00
2010-03-12 15:52:42 -08:00
2010-03-04 08:20:14 -08:00
2010-01-12 10:02:46 +01:00
2010-01-12 10:14:42 +01:00
2010-02-26 08:25:35 +01:00
2010-03-06 11:26:46 -08:00
2010-03-06 11:26:46 -08:00
2010-03-05 14:00:17 -08:00
2010-01-25 12:26:38 -02:00
2010-02-20 13:13:44 -08:00
2010-03-05 00:20:20 +01:00
2010-03-05 13:20:53 -08:00
2010-02-26 19:19:39 +02:00
2010-03-01 16:20:37 +10:00
2010-02-25 10:34:49 +01:00
2010-02-24 20:36:55 +01:00
2010-03-06 11:26:25 -08:00
2010-03-06 11:26:25 -08:00
2010-02-08 14:38:36 -05:00
2010-02-28 10:20:25 -08:00
2010-02-28 10:20:25 -08:00
2010-01-06 00:23:51 -08:00
2010-02-17 11:17:38 +09:00
2010-03-06 11:26:27 -08:00
2010-03-01 14:08:10 +00:00
2010-02-04 00:50:44 -08:00
2010-02-25 17:39:16 +01:00
2010-02-26 17:05:10 -08:00
2010-02-09 11:13:56 +01:00
2010-03-07 22:17:09 +01:00
2010-02-27 16:23:39 +01:00
2010-03-13 20:56:56 +01:00
2010-02-12 17:32:41 +00:00
2010-03-02 12:23:42 +01:00
2010-03-14 11:14:58 -07:00
2010-03-02 12:23:49 +01:00
2010-02-26 13:58:08 +01:00
2010-02-18 14:30:17 -08:00
2010-01-19 01:52:36 -08:00
2010-01-22 16:11:27 -05:00
2010-02-12 16:56:07 -08:00
2010-02-18 14:08:38 -08:00
2010-02-04 20:24:10 -08:00
2010-02-17 16:35:17 -08:00
2010-02-02 07:32:29 -08:00
2010-02-07 03:06:22 -05:00
2010-01-11 16:28:01 -08:00
2010-02-16 15:55:17 -08:00
2010-03-12 15:52:40 -08:00
2010-03-08 23:19:15 -08:00
2010-03-12 15:52:36 -08:00
2010-03-14 20:08:36 -04:00
2010-03-12 15:52:40 -08:00
2010-03-12 15:52:40 -08:00
2010-03-03 08:15:37 -08:00
2010-03-05 13:20:53 -08:00
2010-03-05 00:20:20 +01:00
2010-01-30 01:47:49 -08:00
2010-03-02 10:41:26 -08:00
2010-03-03 08:15:05 -08:00
2010-02-16 16:01:21 -08:00
2010-02-17 11:17:38 +09:00
2010-02-16 15:11:08 -08:00
2010-01-07 11:58:37 -06:00
2010-01-11 09:34:04 -08:00
2010-03-12 15:53:10 -08:00
2009-12-31 19:45:04 +00:00
2010-03-07 17:04:49 -08:00
2010-02-25 17:49:25 +01:00
2010-03-01 12:36:13 -03:00
2010-03-01 12:36:14 -03:00
2010-03-01 14:58:46 -05:00
2010-01-12 21:02:00 -08:00
2010-03-06 11:26:35 -08:00
2010-02-03 17:39:50 +11:00
2010-03-12 15:53:10 -08:00
2010-02-09 11:13:56 +01:00
2010-02-19 03:35:12 -05:00
2010-03-12 15:52:38 -08:00
2010-01-15 01:43:29 -08:00
2010-03-12 15:52:28 -08:00
2010-03-12 15:52:28 -08:00
2010-03-08 16:55:37 +01:00
2010-03-03 14:07:59 -05:00
2010-03-12 15:53:10 -08:00
2010-03-04 08:15:33 -08:00
2010-02-10 23:49:08 +09:00
2010-02-03 20:32:28 -08:00
2010-02-27 02:43:40 -08:00
2010-02-19 08:03:28 +01:00
2010-01-13 20:38:26 -08:00
2010-03-05 15:46:18 -05:00
2010-03-05 15:44:56 -05:00
2010-02-13 12:26:02 +09:00
2010-02-19 15:52:40 -05:00
2010-03-12 15:52:38 -08:00
2010-02-14 07:13:47 -07:00
2010-02-14 13:02:44 -07:00
2010-02-15 15:14:34 +02:00
2010-01-06 19:47:10 +11:00
2010-03-12 15:52:36 -08:00
2010-01-27 09:20:03 -08:00
2010-02-22 16:15:17 -08:00
2010-03-03 08:47:22 -08:00
2010-02-23 23:14:47 -08:00
2010-02-22 16:21:02 -08:00
2010-03-12 15:52:42 -08:00
2010-03-12 15:52:42 -08:00
2010-03-03 07:34:18 -08:00
2010-01-05 09:17:33 +09:00
2010-03-10 13:22:23 +01:00
2010-01-17 21:52:11 +11:00
2010-02-04 10:23:02 -08:00
2010-02-24 08:30:08 +01:00
2010-03-07 17:04:49 -08:00
2010-01-13 10:51:39 +01:00
2010-03-06 21:28:37 +01:00
2010-03-06 21:28:37 +01:00
2010-01-11 09:45:37 -08:00
2010-03-12 15:53:11 -08:00
2010-01-15 16:59:21 -05:00
2010-03-12 15:52:38 -08:00
2010-03-05 00:20:31 +01:00
2010-03-05 00:20:30 +01:00
2010-02-08 18:19:41 -06:00
2010-02-10 17:47:17 -08:00
2010-02-25 11:45:20 +01:00
2010-02-25 09:41:02 +01:00
2010-02-28 19:23:06 -08:00
2010-03-16 09:57:49 +01:00
2010-02-26 08:20:46 +01:00
2010-02-26 08:20:46 +01:00
2010-03-12 15:52:44 -08:00
2010-03-05 13:25:52 -05:00
2010-01-04 11:33:58 +01:00
2010-02-26 20:39:09 +01:00
2010-03-02 14:28:49 -05:00
2010-03-06 11:26:27 -08:00
2010-03-12 15:52:28 -08:00
2010-03-12 15:53:10 -08:00
2010-02-28 19:23:06 -08:00
2010-03-13 01:21:21 +01:00
2010-03-13 14:43:01 -08:00
2010-02-24 08:11:02 +11:00
2010-02-22 15:45:54 -08:00
2010-03-12 15:52:43 -08:00
2010-03-02 11:39:15 +09:00
2010-01-21 23:55:25 -08:00
2010-02-16 13:38:56 +09:00
2010-03-12 15:52:44 -08:00
2010-03-02 03:05:05 -08:00
2010-02-26 19:19:39 +02:00
2010-03-06 11:26:32 -08:00
2010-03-08 10:45:27 -08:00
2010-03-13 01:21:21 +01:00
2010-03-03 07:34:18 -08:00
2010-01-07 17:06:06 -08:00
2010-01-14 22:38:09 -05:00
2010-03-12 15:52:36 -08:00
2010-03-12 15:52:32 -08:00
2010-02-16 15:55:18 -08:00
2010-03-07 17:04:47 -08:00
2010-03-07 17:04:52 -08:00
2010-02-04 14:20:41 +11:00
2010-03-12 15:52:39 -08:00
2010-02-18 15:43:09 -08:00
2010-01-29 10:15:19 +01:00
2010-01-21 13:39:03 +01:00
2010-03-16 10:10:40 +01:00
2010-03-02 14:55:11 -08:00
2010-03-12 15:52:43 -08:00
2010-03-12 15:52:43 -08:00
2010-01-07 11:58:36 -06:00
2010-03-07 17:04:52 -08:00
2010-03-01 22:21:58 +11:00
2010-01-15 01:43:29 -08:00
2010-02-26 15:10:40 -03:00
2010-03-13 08:57:28 -06:00
2010-02-24 14:22:08 +10:30
2010-02-24 14:22:26 +10:30
2010-02-24 14:23:00 +10:30
2010-03-13 08:57:29 -06:00
2010-01-05 09:17:33 +09:00
2010-03-02 14:43:23 -08:00
2010-02-22 16:19:45 -08:00