Waiman Long
6da9f77517
rcu: Force inlining of rcu_read_lock()
...
When debugging options are turned on, the rcu_read_lock() function
might not be inlined. This results in lockdep's print_lock() function
printing "rcu_read_lock+0x0/0x70" instead of rcu_read_lock()'s caller.
For example:
[ 10.579995] =============================
[ 10.584033] WARNING: suspicious RCU usage
[ 10.588074] 4.18.0.memcg_v2+ #1 Not tainted
[ 10.593162] -----------------------------
[ 10.597203] include/linux/rcupdate.h:281 Illegal context switch in
RCU read-side critical section!
[ 10.606220]
[ 10.606220] other info that might help us debug this:
[ 10.606220]
[ 10.614280]
[ 10.614280] rcu_scheduler_active = 2, debug_locks = 1
[ 10.620853] 3 locks held by systemd/1:
[ 10.624632] #0 : (____ptrval____) (&type->i_mutex_dir_key#5){.+.+}, at: lookup_slow+0x42/0x70
[ 10.633232] #1 : (____ptrval____) (rcu_read_lock){....}, at: rcu_read_lock+0x0/0x70
[ 10.640954] #2 : (____ptrval____) (rcu_read_lock){....}, at: rcu_read_lock+0x0/0x70
These "rcu_read_lock+0x0/0x70" strings are not providing any useful
information. This commit therefore forces inlining of the rcu_read_lock()
function so that rcu_read_lock()'s caller is instead shown.
Signed-off-by: Waiman Long <longman@redhat.com >
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com >
2019-06-13 15:38:33 -07:00
..
2019-04-11 19:25:12 +02:00
2019-05-07 19:43:05 +02:00
2019-05-16 11:05:11 -07:00
2019-04-26 16:55:23 +05:30
2019-05-05 21:52:42 -07:00
2019-05-16 09:19:14 -07:00
2019-04-25 21:33:41 +02:00
2019-05-11 10:54:43 -04:00
2019-05-15 18:50:40 -07:00
2019-05-19 10:58:45 -07:00
2019-05-15 18:21:43 -07:00
2019-05-14 10:39:08 -07:00
2019-05-14 20:56:31 -07:00
2019-04-23 18:09:07 +02:00
2019-04-18 08:54:07 +02:00
2019-04-27 17:03:44 -04:00
2019-04-17 14:13:17 +05:30
2019-05-19 10:05:28 -07:00
2019-04-08 12:01:02 +01:00
2019-05-16 09:19:14 -07:00
2019-05-14 19:52:52 -07:00
2019-05-19 10:58:45 -07:00
2019-05-02 17:17:52 +02:00
2019-05-02 10:37:55 +09:00
2019-05-15 18:21:43 -07:00
2019-05-03 18:05:27 +02:00
2019-05-14 10:30:10 -07:00
2019-05-06 11:55:39 +02:00
2019-05-09 00:41:00 -05:00
2019-04-15 18:14:01 -04:00
2019-05-14 09:47:48 -07:00
2019-05-14 19:52:50 -07:00
2019-04-30 16:11:57 -06:00
2019-05-14 19:52:49 -07:00
2019-04-05 16:02:30 -10:00
2019-04-30 16:12:02 -06:00
2019-05-04 07:24:08 -06:00
2019-05-04 07:24:08 -06:00
2019-04-27 09:07:04 -07:00
2019-04-23 01:50:43 +02:00
2019-04-12 13:54:58 -07:00
2019-05-02 22:14:21 -04:00
2019-04-30 16:11:59 -06:00
2019-04-09 17:05:46 -07:00
2019-05-07 08:39:02 -06:00
2019-04-19 11:26:48 -07:00
2019-05-06 08:39:11 -07:00
2019-05-15 13:21:37 -07:00
2019-04-25 08:19:15 -07:00
2019-05-14 19:52:48 -07:00
2019-05-09 15:25:13 -04:00
2019-05-18 15:52:26 -07:00
2019-04-25 22:00:16 +02:00
2019-04-25 22:00:17 +02:00
2019-04-25 21:33:37 +02:00
2019-04-25 21:33:37 +02:00
2019-04-13 11:17:36 -05:00
2019-05-14 07:57:29 -07:00
2019-05-10 12:20:36 +02:00
2019-05-10 05:29:27 -07:00
2019-04-10 00:32:34 +02:00
2019-05-14 19:52:50 -07:00
2019-04-10 10:28:21 -07:00
2019-05-07 21:28:04 -07:00
2019-04-25 15:38:52 -04:00
2019-05-09 14:50:09 -07:00
2019-04-16 14:49:10 +02:00
2019-05-03 15:30:23 +01:00
2019-04-08 17:52:46 +02:00
2019-05-06 15:04:40 +02:00
2019-05-15 17:35:54 +01:00
2019-05-01 12:29:28 -04:00
2019-04-16 10:01:24 +02:00
2019-04-13 19:08:22 -06:00
2019-04-28 08:42:41 -04:00
2019-05-08 21:23:11 -07:00
2019-05-07 22:03:58 -07:00
2019-05-07 21:12:44 -07:00
2019-05-12 18:16:31 -04:00
2019-05-13 15:08:16 -07:00
2019-05-13 15:08:16 -07:00
2019-05-15 16:05:47 -07:00
2019-04-22 09:48:12 -06:00
2019-05-14 09:47:47 -07:00
2019-05-06 15:45:18 +02:00
2019-05-14 09:47:48 -07:00
2019-05-14 09:47:44 -07:00
2019-05-14 09:47:48 -07:00
2019-04-15 17:19:53 -07:00
2019-04-10 18:58:56 -04:00
2019-04-16 13:08:16 +02:00
2019-05-17 19:29:40 +02:00
2019-04-26 13:02:11 +02:00
2019-04-12 01:47:50 +02:00
2019-04-29 10:44:03 +02:00
2019-04-11 17:15:48 +02:00
2019-04-12 12:52:38 -05:00
2019-05-01 07:47:37 -07:00
2019-04-26 17:11:46 +02:00
2019-04-11 15:42:54 +02:00
2019-05-14 19:52:52 -07:00
2019-05-01 10:41:38 +01:00
2019-05-01 10:49:17 +01:00
2019-05-19 11:43:16 -07:00
2019-04-08 22:56:14 +02:00
2019-04-29 08:29:20 +02:00
2019-05-14 19:52:49 -07:00
2019-05-07 18:48:09 -07:00
2019-04-25 22:06:10 +02:00
2019-04-19 14:26:05 +02:00
2019-05-14 19:52:48 -07:00
2019-05-15 23:39:38 +02:00
2019-05-14 19:52:49 -07:00
2019-05-06 10:19:19 -06:00
2019-04-18 16:18:27 -04:00
2019-05-14 19:52:49 -07:00
2019-05-16 15:55:48 -07:00
2019-05-03 21:11:22 +02:00
2019-05-06 13:50:15 -07:00
2019-05-07 20:17:51 -07:00
2019-04-23 10:40:32 -07:00
2019-05-13 09:23:18 -04:00
2019-04-18 17:42:54 -07:00
2019-05-14 09:47:50 -07:00
2019-05-14 19:52:53 -07:00
2019-05-14 09:47:50 -07:00
2019-05-14 09:47:49 -07:00
2019-05-14 09:47:46 -07:00
2019-05-14 19:52:48 -07:00
2019-05-14 19:52:48 -07:00
2019-05-14 09:47:49 -07:00
2019-05-14 19:52:48 -07:00
2019-05-14 10:55:54 -07:00
2019-05-07 21:50:24 +09:00
2019-04-04 21:04:13 -04:00
2019-05-19 10:58:45 -07:00
2019-04-19 14:07:40 -07:00
2019-04-27 16:52:21 -04:00
2019-04-08 23:01:42 +02:00
2019-05-06 01:18:58 +02:00
2019-04-26 16:11:54 -04:00
2019-04-25 14:18:14 -04:00
2019-04-25 14:18:15 -04:00
2019-04-04 18:41:21 +02:00
2019-04-12 20:09:34 -04:00
2019-04-25 16:51:42 +02:00
2019-05-14 17:19:47 +02:00
2019-04-25 19:43:12 +02:00
2019-05-01 14:26:36 -05:00
2019-04-18 22:15:02 +08:00
2019-05-16 10:29:00 -07:00
2019-05-03 10:49:17 -04:00
2019-05-14 09:47:51 -07:00
2019-04-23 16:38:09 -05:00
2019-04-25 16:33:07 -05:00
2019-04-15 13:24:02 +01:00
2019-04-15 13:24:02 +01:00
2019-05-14 10:30:10 -07:00
2019-05-17 10:33:30 -07:00
2019-05-04 00:50:58 -04:00
2019-05-07 14:31:03 +02:00
2019-04-26 11:09:55 -07:00
2019-05-14 19:52:49 -07:00
2019-05-13 10:51:31 +02:00
2019-04-10 12:13:31 +05:30
2019-05-14 19:52:48 -07:00
2019-05-03 22:15:51 +02:00
2019-05-14 19:52:51 -07:00
2019-05-14 19:52:51 -07:00
2019-04-18 16:44:05 +02:00
2019-05-14 19:52:48 -07:00
2019-05-14 19:52:48 -07:00
2019-04-08 14:36:16 +08:00
2019-05-14 19:52:48 -07:00
2019-05-17 10:08:59 -07:00
2019-06-13 15:38:33 -07:00
2019-05-14 19:52:51 -07:00
2019-04-07 19:12:12 -07:00
2019-04-12 17:34:45 -07:00
2019-05-08 22:14:36 +02:00
2019-04-10 10:56:06 +02:00
2019-05-07 12:47:47 -03:00
2019-05-14 19:52:48 -07:00
2019-05-07 20:17:51 -07:00
2019-04-30 16:11:57 -06:00
2019-04-19 15:09:10 +02:00
2019-04-25 11:37:42 +02:00
2019-04-30 12:37:56 +02:00
2019-04-19 09:46:04 -07:00
2019-04-25 23:49:06 +02:00
2019-05-16 15:51:55 -07:00
2019-04-24 12:17:08 +02:00
2019-04-08 11:59:47 +01:00
2019-04-29 12:37:57 +02:00
2019-04-29 12:37:57 +02:00
2019-04-08 16:44:21 -06:00
2019-04-17 17:20:01 -05:00
2019-05-16 16:16:18 -07:00
2019-04-18 11:18:53 +03:00
2019-04-09 08:31:51 -07:00
2019-05-06 19:40:31 -07:00
2019-04-26 19:04:19 -07:00
2019-04-08 09:22:51 -04:00
2019-04-06 10:48:35 -06:00
2019-05-01 08:38:47 -06:00
2019-04-25 13:51:22 -04:00
2019-04-30 12:37:51 +02:00
2019-05-08 10:03:52 -07:00
2019-05-14 09:47:45 -07:00
2019-04-08 17:05:52 -04:00
2019-05-12 13:11:36 -04:00
2019-05-18 15:52:26 -07:00
2019-05-14 09:47:45 -07:00
2019-05-15 17:35:54 +01:00
2019-04-09 15:14:49 -06:00