[ovs-git] Open vSwitch: datapath: #define local_bh_disable to preempt_disable on RT. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Oct 25 18:18:10 UTC 2010


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  22fcc4d5a5f2459b3edaa034dd69686399b41913 (commit)
      from  b7b6e2c44e2aba714f09f7f1587919a4df2f6666 (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 22fcc4d5a5f2459b3edaa034dd69686399b41913
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=22fcc4d5a5f2459b3edaa034dd69686399b41913
Author: Jesse Gross <jesse at nicira.com>
		
datapath: #define local_bh_disable to preempt_disable on RT.
		
We use local_bh_disable() to mean that we don't want to get
preempted or interrupted and normally it covers both situations.
However, on RT kernels local_bh_disable() becomes a no-op because
bottom halves aren't interrupts any more.  We still want the
behavior of disabling preemption so #define them to be the same
on these kernels.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 datapath/linux-2.6/Modules.mk                      |    1 +
 .../compat-2.6/include/linux/bottom_half.h         |   19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 datapath/linux-2.6/compat-2.6/include/linux/bottom_half.h


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list