rcu: add call_rcu
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 13 May 2013 15:49:24 +0000 (17:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Feb 2015 15:55:10 +0000 (16:55 +0100)
commit26387f86c9d6ac3a7a93b76108c502646afb6c25
treed3368c961d75f789cfeefc0fb01d33813f1294b8
parentd62cb4f2fdc0977f9ca9f41d297c3d2c44874171
rcu: add call_rcu

Asynchronous callbacks provided by call_rcu are particularly important
for QEMU, because the BQL makes it hard to use synchronize_rcu.

In addition, the current RCU implementation is not particularly friendly
to multiple concurrent synchronize_rcu callers, making call_rcu even
more important.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/rcu.txt
include/qemu/rcu.h
util/rcu.c