Peter Zijlstra
926a59b1df
module: Annotate module version magic
Due to the new lockdep checks in the coming patch, we go:
[ 9.759380] ------------[ cut here ]------------
[ 9.759389] WARNING: CPU: 31 PID: 597 at ../kernel/module.c:216 each_symbol_section+0x121/0x130()
[ 9.759391] Modules linked in:
[ 9.759393] CPU: 31 PID: 597 Comm: modprobe Not tainted 4.0.0-rc1+ #65
[ 9.759393] Hardware name: Intel Corporation S2600GZ/S2600GZ, BIOS SE5C600.86B.02.02.0002.122320131210 12/23/2013
[ 9.759396] ffffffff817d8676 ffff880424567ca8 ffffffff8157e98b 0000000000000001
[ 9.759398] 0000000000000000 ffff880424567ce8 ffffffff8105fbc7 ffff880424567cd8
[ 9.759400] 0000000000000000 ffffffff810ec160 ffff880424567d40 0000000000000000
[ 9.759400] Call Trace:
[ 9.759407] [<ffffffff8157e98b>] dump_stack+0x4f/0x7b
[ 9.759410] [<ffffffff8105fbc7>] warn_slowpath_common+0x97/0xe0
[ 9.759412] [<ffffffff810ec160>] ? section_objs+0x60/0x60
[ 9.759414] [<ffffffff8105fc2a>] warn_slowpath_null+0x1a/0x20
[ 9.759415] [<ffffffff810ed9c1>] each_symbol_section+0x121/0x130
[ 9.759417] [<ffffffff810eda01>] find_symbol+0x31/0x70
[ 9.759420] [<ffffffff810ef5bf>] load_module+0x20f/0x2660
[ 9.759422] [<ffffffff8104ef10>] ? __do_page_fault+0x190/0x4e0
[ 9.759426] [<ffffffff815880ec>] ? retint_restore_args+0x13/0x13
[ 9.759427] [<ffffffff815880ec>] ? retint_restore_args+0x13/0x13
[ 9.759433] [<ffffffff810ae73d>] ? trace_hardirqs_on_caller+0x11d/0x1e0
[ 9.759437] [<ffffffff812fcc0e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 9.759439] [<ffffffff815880ec>] ? retint_restore_args+0x13/0x13
[ 9.759441] [<ffffffff810f1ade>] SyS_init_module+0xce/0x100
[ 9.759443] [<ffffffff81587429>] system_call_fastpath+0x12/0x17
[ 9.759445] ---[ end trace 9294429076a9c644 ]---
As per the comment this site should be fine, but lets wrap it in
preempt_disable() anyhow to placate lockdep.
Cc: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2015-05-27 11:09:50 +09:30
..
2015-04-27 23:11:49 -04:00
2015-02-19 12:39:03 -06:00
2015-05-08 11:59:40 +02:00
2015-04-17 09:04:08 -04:00
2015-04-24 20:57:06 +02:00
2015-04-13 23:57:20 +02:00
2015-05-08 11:53:55 +02:00
2015-04-10 12:01:59 +02:00
2015-04-21 09:33:10 -07:00
2015-04-14 19:33:59 -07:00
2015-05-22 15:15:30 -07:00
2015-05-13 10:19:35 +02:00
2015-05-06 23:03:23 -04:00
2015-04-11 22:27:55 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:55 -04:00
2015-04-26 17:22:07 -07:00
2015-04-22 14:49:23 -07:00
2015-02-11 20:07:47 -08:00
2015-04-26 17:22:07 -07:00
2015-04-15 16:35:22 -07:00
2015-04-15 16:35:25 -07:00
2015-02-12 18:54:12 -08:00
2015-03-09 15:43:00 +01:00
2015-04-14 13:36:04 -07:00
2015-04-14 16:49:03 -07:00
2015-04-15 16:35:22 -07:00
2015-04-12 21:03:31 +02:00
2015-04-12 20:58:24 +02:00
2015-04-17 09:04:11 -04:00
2015-02-24 08:41:07 +01:00
2015-04-15 16:35:22 -07:00
2015-04-15 16:35:22 -07:00
2015-01-14 15:07:32 +01:00
2015-04-23 16:52:01 +02:00
2014-12-10 17:41:17 -08:00
2015-02-13 21:21:42 -08:00
2015-04-30 09:35:41 -07:00
2015-05-27 11:09:50 +09:30
2015-01-06 11:04:29 -08:00
2015-02-13 21:21:38 -08:00
2014-12-22 15:40:48 +01:00
2015-04-15 13:31:23 +09:30
2014-12-16 15:53:03 -08:00
2015-04-17 09:04:06 -04:00
2015-02-13 21:21:38 -08:00
2015-04-17 09:04:06 -04:00
2015-01-17 10:02:23 +13:00
2015-04-15 16:35:23 -07:00
2015-04-15 15:06:55 -04:00
2015-04-15 16:35:22 -07:00
2015-02-17 14:34:55 -08:00
2015-04-17 09:04:06 -04:00
2015-04-19 13:19:23 -07:00
2015-03-11 13:20:25 -07:00
2015-02-09 15:24:03 -08:00
2014-12-13 12:42:48 -08:00
2015-04-15 16:35:22 -07:00
2015-04-17 09:04:07 -04:00
2015-04-17 09:04:08 -04:00
2015-01-18 01:03:45 -05:00
2014-12-17 12:31:40 -08:00
2014-12-17 12:31:40 -08:00
2015-05-19 10:57:03 -07:00
2015-04-06 11:16:04 -04:00