[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU re
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections |
Date: |
Thu, 23 Jul 2015 13:08:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 23/07/2015 13:04, Wen Congyang wrote:
> > Yes. I think this is better for 2.4. There are threads that do not
> > need RCU, for example the thread-pool.c worker threads, so it may just
>
> If the thread doesn't use RCU, rcu_register_thread() is harmless, is it right?
Every rcu_register_thread() makes synchronize_rcu() a little slower.
>> > be simpler to add an assertion in rcu_register_thread. I'm just a bit
>> > wary of doing little more than the bare minimum in 2.4, because of the
>> > OS X failure that I didn't quite understand.
> Which problem? I don't find it in the maillist.
http://article.gmane.org/gmane.comp.emulators.qemu/351548
Paolo
- [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Paolo Bonzini, 2015/07/22
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Wen Congyang, 2015/07/22
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Christian Borntraeger, 2015/07/23
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Paolo Bonzini, 2015/07/23
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Wen Congyang, 2015/07/23
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Wen Congyang, 2015/07/23
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Paolo Bonzini, 2015/07/23
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Wen Congyang, 2015/07/23
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Wen Congyang, 2015/07/24
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Paolo Bonzini, 2015/07/24
- Re: [Qemu-devel] [PATCH] rcu: actually register threads that have RCU read-side critical sections, Wen Congyang, 2015/07/24