diff --git a/man2/set_mempolicy.2 b/man2/set_mempolicy.2 index 0930de98d..7487520e8 100644 --- a/man2/set_mempolicy.2 +++ b/man2/set_mempolicy.2 @@ -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 " .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 .\" .