rcu: init rcu_registry_lock after fork
commit5243722376873a48e9852a58b91f4d4101ee66e4
authorEmilio G. Cota <cota@braap.org>
Mon, 24 Aug 2015 00:23:37 +0000 (23 20:23 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Sep 2015 13:34:54 +0000 (9 15:34 +0200)
tree310a56c79e1e5d6d4119ccf706abeeffdb1939c7
parent12a1ddc160cb6a73e8a6c319f3962a20da2cd22f
rcu: init rcu_registry_lock after fork

We were unlocking this lock after fork, which is wrong since
only the thread that holds a mutex is allowed to unlock it.

Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1440375847-17603-9-git-send-email-cota@braap.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
util/rcu.c