[ovs-dev] [PATCH] [PATCH] rcu: reduce RCU block time

Ben Pfaff blp at ovn.org
Thu Dec 6 14:57:47 UTC 2018


On Thu, Dec 06, 2018 at 08:28:19PM +0800, Lilijun wrote:
> When calling ovsrcu_synchronize(), it always block 1000ms because we poll
> block until elapsed time become greater than
> warning_threshold(1000).That's too long for some configuration commands.
> So this patch reduces warning_threshold's default value to 100 and print
> logs after it have elapsed more than 1000ms.
> 
> Change-Id: Ib698afb47a600de00f52d8a5aa63039f0097514f
> Signed-off-by: Lilijun <jerry.lilijun at huawei.com>

I think that this patch reflects a misunderstanding.  It is the
seq_wait() call that makes ovsrcu_synchronize() wake up when
synchronization is complete.  The poll_timer_wait_until() call is there
just to produce the warning messages.


More information about the dev mailing list