[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/3] rcu: missing thread registration
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 0/3] rcu: missing thread registration |
Date: |
Mon, 13 Jul 2015 13:31:02 +0200 |
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.
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
- [Qemu-devel] [PATCH 0/3] rcu: missing thread registration,
Paolo Bonzini <=