[ovs-git] Open vSwitch: timeval: Remove CACHE_TIME scheme. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Sep 4 23:57:59 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  31ef9f5178dee18a40ce609aad406e925411eb06 (commit)
      from  c4f5d00bb76e01383ec3fbde31bc5c8f4e0a2b38 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 31ef9f5178dee18a40ce609aad406e925411eb06
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=31ef9f5178dee18a40ce609aad406e925411eb06
Author: Alex Wang <alexw at nicira.com>
		
timeval: Remove CACHE_TIME scheme.
		
This commit removes the CACHE_TIME scheme from timeval module.  This
is for eliminating the lock contention over the read/write lock of
the cached time.  To get the time, the thread now will directly do
the system call 'clock_gettime()'.

As a side effect, timer can only be warpped after timer is stopped
by 'appctl time/stop' command.

Signed-off-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/daemon.c           |    1 -
 lib/timeval.c          |  131 +++----------------------------------------
 lib/timeval.h          |   19 -------
 m4/openvswitch.m4      |   16 ------
 ofproto/ofproto-dpif.c |    2 +-
 tests/automake.mk      |    6 --
 tests/learn.at         |    1 +
 tests/ofproto-dpif.at  |    8 +++
 tests/test-lockfile.c  |    1 -
 tests/test-timeval.c   |  145 ------------------------------------------------
 tests/testsuite.at     |    1 -
 tests/timeval.at       |   22 --------
 vswitchd/bridge.c      |    3 -
 13 files changed, 17 insertions(+), 339 deletions(-)
 delete mode 100644 tests/test-timeval.c
 delete mode 100644 tests/timeval.at


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list