qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] rcu: missing thread registration
@ 2015-07-13 11:31 Paolo Bonzini
  2015-07-13 11:31 ` [Qemu-devel] [PATCH 1/3] rcu: automatically unregister threads when they exit Paolo Bonzini
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Paolo Bonzini @ 2015-07-13 11:31 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-14  3:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13 11:31 [Qemu-devel] [PATCH 0/3] rcu: missing thread registration Paolo Bonzini
2015-07-13 11:31 ` [Qemu-devel] [PATCH 1/3] rcu: automatically unregister threads when they exit Paolo Bonzini
2015-07-13 11:31 ` [Qemu-devel] [PATCH 2/3] rcu: actually register threads that have RCU read-side critical sections Paolo Bonzini
2015-07-13 11:31 ` [Qemu-devel] [PATCH 3/3] rcu: detect missing rcu_register_thread() Paolo Bonzini
2015-07-14  3:36 ` [Qemu-devel] [PATCH 0/3] rcu: missing thread registration Fam Zheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).