Re: [Qemu-devel] [PATCH 7/9] rcu: prod call_rcu thread when calling synchronize_rcu

2015-02-03 Thread Fam Zheng
On Tue, 02/03 13:52, Paolo Bonzini wrote: > call_rcu operates on the principle that either there is a steady stream of > incoming RCU callbacks, or it is not worthwhile to wake up and process the > few that are there. > > This however makes it hard to assert in testcases that all RCU callbacks > a

[Qemu-devel] [PATCH 7/9] rcu: prod call_rcu thread when calling synchronize_rcu

2015-02-03 Thread Paolo Bonzini
call_rcu operates on the principle that either there is a steady stream of incoming RCU callbacks, or it is not worthwhile to wake up and process the few that are there. This however makes it hard to assert in testcases that all RCU callbacks are processed. To avoid this, make call_rcu also proce