OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man2 / mbind.2
index 545f405..b6507d2 100644 (file)
@@ -1,6 +1,7 @@
 .\" 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.
 .\"
 .\" 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.
 .\"
+.\" FIXME
+.\" Linux 3.8 added the following, which need to be documented.
+.\" And do they also apply for move_pages()?
+.\"
+.\"       MPOL_LOCAL
+.\"                commit 479e2802d09f1e18a97262c4c6f8f17ae5884bd8
+.\"                Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
+.\"                Date:   Thu Oct 25 14:16:28 2012 +0200
+.\"
+.\"                commit f2a07f40dbc603c15f8b06e6ec7f768af67b424f
+.\"                Author: Hugh Dickins <hughd@google.com>
+.\"                Date:   Wed Jan 2 02:01:33 2013 -0800
+.\"
+.\"        MPOL_MF_LAZY
+.\"                commit b24f53a0bea38b266d219ee651b22dba727c44ae
+.\"                Author: Lee Schermerhorn <lee.schermerhorn@hp.com>
+.\"                Date:   Thu Oct 25 14:16:32 2012 +0200
+.\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
@@ -29,7 +49,7 @@
 .\"*******************************************************************
 .TH MBIND 2 2008\-08\-15 Linux "Linux Programmer's Manual"
 .SH 名前
-mbind \- メモリ領域に対してメモリポリシーを設定する
+mbind \- set memory policy for a memory range
 .SH 書式
 .nf
 \fB#include <numaif.h>\fP
@@ -81,12 +101,14 @@ context)  に移動した場合でも、そのプロセスの現在の CPU 集
 \fBMPOL_F_RELATIVE_NODES\fP (Linux\-2.6.26 以降)
 空でない \fInodemask\fP は、そのプロセスの現在の CPU 集合で許可されているノード ID 集合 における相対的なノード ID である。
 .PP
-\fInodemask\fP は、最大で \fImaxnode\fP ビットから構成されるノードのビットマスクを指す。 ビットマスクの大きさは、直近の
-\fIsizeof(unsigned long)\fP の倍数に切り上げられるが、カーネルが使用するのは \fImaxnode\fP 個までのビットだけである。
-NULL 値の \fInodemask\fP もしくは値が 0 の \fImaxnode\fP はノードの空集合を表す。 \fImaxnode\fP の値が 0 の場合、
-\fInodemask\fP 引き数は無視される。 \fInodemask\fP が必須の場面では、 \fInodemask\fP に、オンラインで、そのプロセスの現在の
-CPU 集合コンテキストで 許可されており (\fBMPOL_F_STATIC_NODES\fP モードフラグが指定されていない場合)、メモリがあるノードが
-少なくとも一つ入っていなければならない。
+\fInodemask\fP points to a bit mask of nodes containing up to \fImaxnode\fP bits.
+The bit mask size is rounded to the next multiple of \fIsizeof(unsigned
+long)\fP, but the kernel will only use bits up to \fImaxnode\fP.  A NULL value of
+\fInodemask\fP or a \fImaxnode\fP value of zero specifies the empty set of nodes.
+If the value of \fImaxnode\fP is zero, the \fInodemask\fP argument is ignored.
+Where a \fInodemask\fP is required, it must contain at least one node that is
+on\-line, allowed by the process's current cpuset context [unless the
+\fBMPOL_F_STATIC_NODES\fP mode flag is specified], and contains memory.
 
 モード \fBMPOL_DEFAULT\fP はデフォルトではないプロセスのメモリポリシーを削除し、 デフォルトの動作に戻すことを指定するものである。
 \fBmbind\fP()  経由で、あるメモリ領域に対して \fBMPOL_DEFAULT\fP
@@ -191,6 +213,6 @@ NUMA ポリシーは、 \fBMAP_SHARED\fP フラグが指定されてマップさ
 \fBshmat\fP(2), \fBshmget\fP(2), \fBnuma\fP(3), \fBcpuset\fP(7), \fBnuma\fP(7),
 \fBnumactl\fP(8)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。