qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.10 0/2] RCU: forking fix and cleanups
@ 2017-08-04 16:14 Paolo Bonzini
  2017-08-04 16:14 ` [Qemu-devel] [PATCH 1/2] rcu: completely disable pthread_atfork callbacks as soon as possible Paolo Bonzini
  2017-08-04 16:14 ` [Qemu-devel] [PATCH 2/2] Revert "rcu: do not create thread in pthread_atfork callback" Paolo Bonzini
  0 siblings, 2 replies; 4+ messages in thread
From: Paolo Bonzini @ 2017-08-04 16:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: dgilbert

The first patch fixes a migration deadlock.  The second reverts
a now-unnecessary hack (introduced to support the pre-MTTCG "kick
the CPU thread" special behavior of qemu_mutex_lock_iothread).

Paolo

Paolo Bonzini (2):
  rcu: completely disable pthread_atfork callbacks as soon as possible
  Revert "rcu: do not create thread in pthread_atfork callback"

 include/qemu/rcu.h   |  7 ++++++-
 linux-user/syscall.c |  1 -
 os-posix.c           |  2 --
 util/rcu.c           | 30 +++++++++++++++++++++++++++---
 vl.c                 |  1 +
 5 files changed, 34 insertions(+), 7 deletions(-)

-- 
2.13.3

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

end of thread, other threads:[~2017-08-04 17:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-04 16:14 [Qemu-devel] [PATCH for-2.10 0/2] RCU: forking fix and cleanups Paolo Bonzini
2017-08-04 16:14 ` [Qemu-devel] [PATCH 1/2] rcu: completely disable pthread_atfork callbacks as soon as possible Paolo Bonzini
2017-08-04 17:01   ` Dr. David Alan Gilbert
2017-08-04 16:14 ` [Qemu-devel] [PATCH 2/2] Revert "rcu: do not create thread in pthread_atfork callback" Paolo Bonzini

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).