[ovs-git] Open vSwitch: ovs-vswitchd: Call mlockall() from the daemon, not the parent or monitor. (branch-1.3)
dev at openvswitch.org
dev at openvswitch.org
Mon Jul 2 17:18:09 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.3 has been updated
via 85f0fc11bbad92bc210128dc46516198d5f1089c (commit)
from 003b8f64cb7bf7f4d4d1fd3f2d44a4a41d3953e9 (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 85f0fc11bbad92bc210128dc46516198d5f1089c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=85f0fc11bbad92bc210128dc46516198d5f1089c
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