[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] rcu: missing thread registration
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] rcu: missing thread registration |
Date: |
Tue, 14 Jul 2015 11:36:14 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, 07/13 13:31, Paolo Bonzini wrote:
> Patch 2 fixes the problem, whereby threads were not being registered
> but still happily used RCU. Patch 1 simplifies the registration by
> making rcu_unregister_thread automatic. Patch 3 avoids having the
> same bug in the future.
Reviewed-by: Fam Zheng <address@hidden>
>
> Paolo
>
> Paolo Bonzini (3):
> rcu: automatically unregister threads when they exit
> rcu: actually register threads that have RCU read-side critical
> sections
> rcu: detect missing rcu_register_thread()
>
> cpus.c | 6 ++++++
> include/qemu/rcu.h | 4 +++-
> iothread.c | 3 +++
> migration/migration.c | 3 +++
> tests/rcutorture.c | 10 ----------
> tests/test-rcu-list.c | 2 ++
> util/rcu.c | 30 ++++++++++++++++++++++++++++--
> 7 files changed, 45 insertions(+), 13 deletions(-)
>
> --
> 2.4.3
>
>