[ovs-git] Open vSwitch: datapath: Change u64_stats_* to use _irq instead of _bh(). (master)

dev at openvswitch.org dev at openvswitch.org
Tue Jul 1 20:05:29 UTC 2014


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  09f27436b1fcab822ad358890b0e953b24c4a215 (commit)
      from  85ddb187bead19705be8b387b804db1ed53d7f3d (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 09f27436b1fcab822ad358890b0e953b24c4a215
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=09f27436b1fcab822ad358890b0e953b24c4a215
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Change u64_stats_* to use _irq instead of _bh().
		
The upstream u64_stats API has been changed to remove the _bh()
versions and switch all consumers to use IRQ safe variants instead.
This was done to be safe for netpoll generated packets, which can
occur in hard IRQ context. From a safety perspective, this doesn't
directly affect OVS since it doesn't support netpoll. However, this
change has been backported to older kernels so OVS needs to use the
new API to compile.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Pritesh Kothari <pritesh.kothari at cisco.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


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

Summary of changes:
 acinclude.m4                                       |    2 ++
 datapath/datapath.c                                |    4 +--
 .../linux/compat/include/linux/u64_stats_sync.h    |   37 +++++++++-----------
 datapath/vport.c                                   |    4 +--
 4 files changed, 23 insertions(+), 24 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list