On Thu, Sep 12, 2013 at 05:46:12PM -0700, Ethan Jackson wrote: > Assuming we really need this ability. I don't like that we have to > take a readlock every time we get the time. Perhaps we could could > have a global flag which is false unless time has ever been warped. > If it hasn't then we can simply do the xclock_gettime(). I think > that'd add a slight race, but I can't imagine it'd matter.
I posted a v2 that eliminates the read-lock in the common case: http://openvswitch.org/pipermail/dev/2013-September/031879.html _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev