[ovs-git] Open vSwitch: ovs-vswitchd: Call mlockall() from the daemon, not the parent or monitor. (branch-1.2)
dev at openvswitch.org
dev at openvswitch.org
Mon Jul 2 17:18:22 UTC 2012
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-1.2 has been updated
via 20831fc55121f727dd4d3b87434ad715e9eea8ee (commit)
from 03dbf1330e335e963450032320e43bda03447065 (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 20831fc55121f727dd4d3b87434ad715e9eea8ee
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=20831fc55121f727dd4d3b87434ad715e9eea8ee
Author: Ben Pfaff <blp at nicira.com>
ovs-vswitchd: Call mlockall() from the daemon, not the parent or monitor.
mlockall(2) says:
Memory locks are not inherited by a child created via fork(2) and are
automatically removed (unlocked) during an execve(2) or when the
process terminates.
which means that --mlockall was ineffective in combination with --detach
or --monitor or both. Both are used in the most common production
configuration of Open vSwitch, so this means that --mlockall has never been
effective in production.
Signed-off-by: Ben Pfaff <blp at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
vswitchd/ovs-vswitchd.c | 24 ++++++++++++++++--------
1 files changed, 16 insertions(+), 8 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list