]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/mbind.2
All pages: Replace the 4th argument to .TH by "Linux man-pages (unreleased)"
[thirdparty/man-pages.git] / man2 / mbind.2
index 16644ff6acfb4e66eafe24a1e5434aa70409ab76..5e11d93a7b97d173916e79de95bf3d522b1c41f0 100644 (file)
 .\"                Author: Lee Schermerhorn <lee.schermerhorn@hp.com>
 .\"                Date:   Thu Oct 25 14:16:32 2012 +0200
 .\"
-.TH MBIND 2 2017-09-15 Linux "Linux Programmer's Manual"
+.TH MBIND 2 2021-03-22 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
 .SH NAME
 mbind \- set memory policy for a memory range
+.SH LIBRARY
+NUMA (Non-Uniform Memory Access) policy library
+.RI ( libnuma ", " \-lnuma )
 .SH SYNOPSIS
 .nf
 .B "#include <numaif.h>"
 .PP
 .BI "long mbind(void *" addr ", unsigned long " len  ", int " mode ,
 .BI "           const unsigned long *" nodemask  ", unsigned long " maxnode ,
-.BI "           unsigned " flags );
-.PP
-Link with \fI\-lnuma\fP.
+.BI "           unsigned int " flags );
 .fi
 .SH DESCRIPTION
 .BR mbind ()
@@ -122,7 +123,7 @@ argument must specify one of
 .BR MPOL_INTERLEAVE ,
 .BR MPOL_PREFERRED ,
 or
-.BR MPOL_LOCAL
+.B MPOL_LOCAL
 (which are described in detail below).
 All policy modes except
 .B MPOL_DEFAULT
@@ -343,7 +344,7 @@ and
 .I maxnode
 points outside your accessible address space.
 Or, there was an unmapped hole in the specified memory range specified by
-.IR addr
+.I addr
 and
 .IR len .
 .TP
@@ -422,7 +423,7 @@ privilege.
 The
 .BR mbind ()
 system call was added to the Linux kernel in version 2.6.7.
-.SH CONFORMING TO
+.SH STANDARDS
 This system call is Linux-specific.
 .SH NOTES
 For information on library support, see
@@ -471,8 +472,10 @@ Support for huge page policy was added with 2.6.16.
 For interleave policy to be effective on huge page mappings the
 policied memory needs to be tens of megabytes or larger.
 .PP
+Before Linux 5.7.
+.\" commit dcf1763546d76c372f3136c8d6b2b6e77f140cf0
 .B MPOL_MF_STRICT
-is ignored on huge page mappings.
+was ignored on huge page mappings.
 .PP
 .B MPOL_MF_MOVE
 and