]> git.ipfire.org Git - thirdparty/man-pages.git/commit - man2/set_mempolicy.2
get_mempolicy.2, set_mempolicy: Policy is per thread, not per process
authorBrice Goglin <Brice.Goglin@inria.fr>
Thu, 30 Apr 2015 10:31:09 +0000 (12:31 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 6 May 2015 18:37:34 +0000 (20:37 +0200)
commit856778162bca8563fbf9a5755a61a168f2a3c8cb
tree96507064741a7fe6125d5a364d8d4f4dd149eeb2
parente23f2a23cd2eee925283981b97e12569b5b1d3f7
get_mempolicy.2, set_mempolicy: Policy is per thread, not per process

set/get_mempolicy manpages say that the memory allocation
policy is per process while reading the code and testing shows
that it's actually per thread.  Here's a quick fix, which may
need to be improved to better explain that we're allocating
in the context of a thread within a process address space.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/get_mempolicy.2
man2/set_mempolicy.2