timeval: Preserve quiescence across time_poll().
authorBen Pfaff <blp@nicira.com>
Sat, 26 Apr 2014 01:25:06 +0000 (18:25 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 28 Apr 2014 22:25:48 +0000 (15:25 -0700)
commit3308c696220bbfff36bf29b3e1b168449d57b3d7
treebe22866ba0549eaaf2af5396cae11f45b0789f2b
parent1edc458d61d9846b743310d9dd37ad181b013e5f
timeval: Preserve quiescence across time_poll().

Otherwise ovsrcu_synchronize() busy-waits in its loop because its
poll_block() un-quiesces, causing the global_seqno to increase, which is
what it waits for.

Reported-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
lib/ovs-rcu.c
lib/ovs-rcu.h
lib/timeval.c