Oleg Nesterov
4bace7344d
rcu_sync: Cleanup the CONFIG_PROVE_RCU checks
...
1. Rename __rcu_sync_is_idle() to rcu_sync_lockdep_assert() and
change it to use rcu_lockdep_assert().
2. Change rcu_sync_is_idle() to return rsp->gp_state == GP_IDLE
unconditonally, this way we can remove the same check from
rcu_sync_lockdep_assert() and clearly isolate the debugging
code.
Note: rcu_sync_enter()->wait_event(gp_state == GP_PASSED) needs
another CONFIG_PROVE_RCU check, the same as is done in ->sync(); but
this needs some simple preparations in the core RCU code to avoid the
code duplication.
Signed-off-by: Oleg Nesterov <oleg@redhat.com >
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Reviewed-by: Josh Triplett <josh@joshtriplett.org >
2015-10-06 11:25:45 -07:00
..
2015-09-09 14:11:55 -07:00
2015-06-16 11:04:29 +01:00
2015-02-19 12:39:03 -06:00
2015-09-10 13:29:01 -07:00
2015-06-30 19:44:57 -07:00
2015-09-16 15:47:51 +02:00
2015-07-14 22:48:06 +02:00
2015-10-06 11:25:40 -07:00
2015-09-02 13:10:25 -07:00
2015-09-10 13:29:01 -07:00
2015-10-06 11:25:45 -07:00
2015-09-18 09:23:08 -07:00
2015-09-17 10:55:25 -07:00
2015-09-08 14:04:14 -07:00
2015-04-11 22:27:55 -04:00
2015-08-06 16:14:53 -04:00
2015-09-08 13:34:59 -07:00
2015-09-08 13:34:59 -07:00
2015-09-08 13:34:59 -07:00
2015-09-08 13:34:59 -07:00
2015-08-06 16:17:25 -04:00
2015-09-08 13:34:59 -07:00
2015-04-15 16:35:22 -07:00
2015-07-14 17:29:23 -04:00
2015-08-25 14:19:25 -04:00
2015-09-08 15:35:28 -07:00
2015-06-04 23:57:18 +02:00
2015-05-07 12:02:51 +02:00
2015-09-03 02:42:20 +02:00
2015-08-31 20:26:22 -07:00
2015-08-10 11:18:41 -04:00
2015-09-10 13:29:01 -07:00
2015-04-12 21:03:31 +02:00
2015-08-07 13:59:49 +02:00
2015-09-10 13:29:01 -07:00
2015-09-04 16:54:41 -07:00
2015-07-20 21:43:54 +02:00
2015-04-15 16:35:22 -07:00
2015-04-15 16:35:22 -07:00
2015-08-03 11:34:16 +02:00
2015-05-12 09:46:00 +02:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2015-08-04 10:16:54 +02:00
2015-09-10 13:29:01 -07:00
2015-09-04 16:54:41 -07:00
2015-09-11 15:21:34 -07:00
2015-09-11 15:21:34 -07:00
2015-08-27 19:40:58 -04:00
2015-08-12 17:01:01 +01:00
2015-07-29 06:13:22 +09:30
2015-09-01 08:40:25 -07:00
2014-12-04 14:34:54 -05:00
2015-02-13 21:21:38 -08:00
2015-06-30 19:44:57 -07:00
2015-07-01 10:49:25 -07:00
2014-12-16 15:53:03 -08:00
2015-07-22 15:27:32 -07:00
2015-09-08 15:35:28 -07:00
2015-07-15 11:52:52 -07:00
2015-01-17 10:02:23 +13:00
2015-09-10 13:29:01 -07:00
2015-06-30 19:44:59 -07:00
2015-08-10 23:07:05 -04:00
2015-07-20 17:19:19 +10:00
2015-08-07 04:39:40 +03:00
2015-04-19 13:19:23 -07:00
2015-09-04 16:54:41 -07:00
2015-02-09 15:24:03 -08:00
2014-12-13 12:42:48 -08:00
2015-08-03 12:21:28 +02:00
2015-09-11 15:21:34 -07:00
2015-07-10 10:39:25 -05:00
2014-12-10 17:41:10 -08:00
2015-09-10 13:29:01 -07:00
2015-09-05 13:46:58 -07:00
2015-01-18 01:03:45 -05:00
2015-10-06 11:25:01 -07:00
2014-12-05 17:19:27 -06:00
2015-09-04 16:54:41 -07:00
2014-12-17 12:31:40 -08:00
2014-12-04 14:34:47 -05:00
2015-09-04 16:54:41 -07:00
2015-09-02 08:02:20 -07:00