]> git.ipfire.org Git - thirdparty/man-pages.git/commit
man/man2/{mbind,set_mempolicy}.2: Document MPOL_PREFERRED_MANY
authorMatthew Cassell <mcassell411@gmail.com>
Thu, 20 Feb 2025 22:52:32 +0000 (16:52 -0600)
committerAlejandro Colomar <alx@kernel.org>
Fri, 21 Feb 2025 18:00:15 +0000 (19:00 +0100)
commitfe7e094e78139a4ac5ee31b2321b77041c725794
treee59459f815d3134ab09ca7c4123e02c8eb6568d4
parent32148703be51b3db5277c82e6e2d21ddfedeee4e
man/man2/{mbind,set_mempolicy}.2: Document MPOL_PREFERRED_MANY

Browsing a header file in the kernel source and saw the memory policy
enum used for mbind() and set_mempolicy() using an entry that I didn't
recognize.  I man 2'd both system calls and didn't see an entry for
MPOL_PREFERRED_MANY.  The commit on the enum entry:

linux.git b27abaccf8e8 (2021-09-02; "mm/mempolicy: add
MPOL_PREFERRED_MANY for multiple preferred nodes")

The commit message gives the rationale as to why the MPOL_PREFERRED_MANY
mode would be beneficial.  Giving the ability to set the memory policy
to target different tiers of memory over various NUMA nodes.

Cc: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Matthew Cassell <mcassell411@gmail.com>
Message-ID: <20250220225232.2138-1-mcassell411@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/mbind.2
man/man2/set_mempolicy.2