Memory policy is preserved across execve().

This commit is contained in:
Michael Kerrisk 2006-09-04 08:21:37 +00:00
parent a5053dcb15
commit 3bd6a9b118
1 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,6 @@
.TH SET_MEMPOLICY 2 "2006-02-07" "SuSE Labs" "Linux Programmer's Manual"
.SH NAME
set_mempolicy \- Set default NUMA memory policy for a process and its children.
.SH SYNOPSIS
.B "#include <numaif.h>"
.sp
@ -96,7 +95,9 @@ If no node is set in the mask, then the memory is allocated on
the node of the CPU that triggered the allocation allocation (like
.BR MPOL_DEFAULT ).
The memory policy is inherited by child processes created using
The memory policy is preserved across an
.BR execve (2),
and is inherited by child processes created using
.BR fork (2)
or
.BR clone (2).
@ -109,7 +110,6 @@ returns 0;
on error, \-1 is returned and
.I errno
is set to indicate the error.
.\" .SH ERRORS
.\" FIXME writeme -- no errors are listed on this page
.\" .