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

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, branch-2.1 has been updated
       via  196780c2c4fb668d1d44555f172453db3a0e8eb8 (commit)
      from  3601bd879ac43279338d0a4403174397dbfe2891 (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 196780c2c4fb668d1d44555f172453db3a0e8eb8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=196780c2c4fb668d1d44555f172453db3a0e8eb8
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>

Conflicts:
	datapath/linux/compat/include/linux/u64_stats_sync.h


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

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


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list