Paolo Bonzini
f6d153f1bf
rcu: optimize rcu_read_lock
...
rcu_read_lock cannot change rcu_gp_ongoing from true to false
(the previous value of p_rcu_reader->ctr is zero), hence
there is no need to check p_rcu_reader->waiting and wake up
a concurrent synchronize_rcu.
While at it mark the wakeup as unlikely in rcu_read_unlock.
Reviewed-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1450265542-4323-1-git-send-email-pbonzini@redhat.com>
2015-12-17 17:33:49 +01:00
..
2012-12-19 08:32:39 +01:00
2015-06-05 19:45:13 +02:00
2015-06-05 17:10:00 +02:00
2015-06-05 17:10:00 +02:00
2015-01-20 15:19:35 +00:00
2015-11-05 09:09:58 +01:00
2015-04-30 16:05:48 +03:00
2015-08-19 16:29:53 +01:00
2014-04-27 13:04:18 +04:00
2015-10-20 14:59:04 +01:00
2015-10-20 14:59:04 +01:00
2014-02-26 17:20:07 +00:00
2012-12-19 08:32:39 +01:00
2014-10-09 15:36:15 +02:00
2015-10-24 18:02:49 +02:00
2014-02-08 14:50:48 +00:00
2015-07-06 14:59:09 +02:00
2015-06-23 15:06:16 +01:00
2015-09-15 07:45:33 -07:00
2014-05-30 13:00:28 -06:00
2015-06-23 16:05:34 +01:00
2015-12-17 17:33:48 +01:00
2015-09-07 18:14:03 +02:00
2015-10-22 14:34:49 +03:00
2015-12-02 22:38:23 +02:00
2014-02-20 13:14:18 +01:00
2013-06-28 09:20:26 +02:00
2014-06-16 17:23:20 +08:00
2015-09-25 12:04:45 +02:00
2015-11-25 13:42:37 +02:00
2015-10-16 15:34:30 +02:00
2014-06-19 18:44:19 +03:00
2013-08-22 19:14:24 +02:00
2015-02-16 17:30:19 +01:00
2015-12-17 17:33:49 +01:00
2014-02-01 13:46:06 +04:00
2014-03-13 14:42:21 +01:00
2015-09-07 18:12:39 +02:00
2015-10-20 14:15:48 +01:00
2013-10-17 17:30:55 +02:00
2015-09-24 20:52:28 +02:00
2015-02-02 16:55:10 +01:00
2015-08-05 12:53:48 +01:00
2015-11-12 16:22:46 +01:00
2015-10-08 19:46:01 +03:00
2015-12-17 08:21:28 +01:00
2012-12-19 08:32:39 +01:00
2012-12-19 08:32:39 +01:00