Re: [Qemu-devel] [PATCH 1/3] rcu: do not let RCU callbacks pile up indefinitely

2015-02-12 Thread Fam Zheng
On Wed, 02/11 18:14, Paolo Bonzini wrote: Always process them within half a second. Even though waiting a little is useful, it is not okay to delay e.g. qemu_opts_del forever. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- util/rcu.c | 14 -- 1 file changed, 8

[Qemu-devel] [PATCH 1/3] rcu: do not let RCU callbacks pile up indefinitely

2015-02-11 Thread Paolo Bonzini
Always process them within half a second. Even though waiting a little is useful, it is not okay to delay e.g. qemu_opts_del forever. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- util/rcu.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/util/rcu.c

Re: [Qemu-devel] [PATCH 1/3] rcu: do not let RCU callbacks pile up indefinitely

2015-02-11 Thread Paolo Bonzini
On 11/02/2015 18:14, Paolo Bonzini wrote: Always process them within half a second. Actually, half a second is too much so I changed it to .05 seconds to err on the safe side and still give time to the sending process to register two-three callbacks in rapid succession. Paolo Even though