Re: [RFC v5 1/3] rcu: introduce rcu_read_is_locked()

2023-02-14 Thread Chuang Xu
Hi, Paolo! On 2023/2/2 下午6:59, Juan Quintela wrote: Chuang Xu wrote: add rcu_read_is_locked() to detect holding of rcu lock. Signed-off-by: Chuang Xu Reviewed-by: Juan Quintela Althought I think that petting a review from Paolo or anyone that knows more than RCU could be a good idea. --

Re: [RFC v5 1/3] rcu: introduce rcu_read_is_locked()

2023-02-02 Thread Juan Quintela
Chuang Xu wrote: > add rcu_read_is_locked() to detect holding of rcu lock. > > Signed-off-by: Chuang Xu Reviewed-by: Juan Quintela Althought I think that petting a review from Paolo or anyone that knows more than RCU could be a good idea. > --- > include/qemu/rcu.h | 7 +++ > 1 file chan