summaryrefslogtreecommitdiffstats
path: root/man2/set_mempolicy.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/set_mempolicy.2')
-rw-r--r--man2/set_mempolicy.231
1 files changed, 6 insertions, 25 deletions
diff --git a/man2/set_mempolicy.2 b/man2/set_mempolicy.2
index a65db9bbe..a7f561d96 100644
--- a/man2/set_mempolicy.2
+++ b/man2/set_mempolicy.2
@@ -1,30 +1,13 @@
+.\" SPDX-License-Identifier: Linux-man-pages-copyleft-var
+.\"
.\" Copyright 2003,2004 Andi Kleen, SuSE Labs.
.\" and Copyright 2007 Lee Schermerhorn, Hewlett Packard
.\"
-.\" %%%LICENSE_START(VERBATIM_PROF)
-.\" Permission is granted to make and distribute verbatim copies of this
-.\" manual provided the copyright notice and this permission notice are
-.\" preserved on all copies.
-.\"
-.\" Permission is granted to copy and distribute modified versions of this
-.\" manual under the conditions for verbatim copying, provided that the
-.\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one.
-.\"
-.\" Since the Linux kernel and libraries are constantly changing, this
-.\" manual page may be incorrect or out-of-date. The author(s) assume no
-.\" responsibility for errors or omissions, or for damages resulting from
-.\" the use of the information contained herein.
-.\"
-.\" Formatted or processed versions of this manual, if unaccompanied by
-.\" the source, must acknowledge the copyright and authors of this work.
-.\" %%%LICENSE_END
-.\"
.\" 2006-02-03, mtk, substantial wording changes and other improvements
.\" 2007-08-27, Lee Schermerhorn <Lee.Schermerhorn@hp.com>
.\" more precise specification of behavior.
.\"
-.TH set_mempolicy 2 2023-02-05 "Linux man-pages 6.03"
+.TH set_mempolicy 2 2023-07-16 "Linux man-pages 6.05.01"
.SH NAME
set_mempolicy \- set default NUMA memory policy for a thread and its children
.SH LIBRARY
@@ -319,12 +302,10 @@ other than
.TP
.B ENOMEM
Insufficient kernel memory was available.
-.SH VERSIONS
-The
-.BR set_mempolicy ()
-system call was added in Linux 2.6.7.
.SH STANDARDS
-This system call is Linux-specific.
+Linux.
+.SH HISTORY
+Linux 2.6.7.
.SH NOTES
Memory policy is not remembered if the page is swapped out.
When such a page is paged back in, it will use the policy of