OSDN Git Service

(split) LDP: Update draft and release pages (based on the previous commit)
[linuxjm/LDP_man-pages.git] / release / man2 / mbind.2
index b6507d2..60b7eb6 100644 (file)
@@ -49,7 +49,7 @@
 .\"*******************************************************************
 .TH MBIND 2 2008\-08\-15 Linux "Linux Programmer's Manual"
 .SH 名前
-mbind \- set memory policy for a memory range
+mbind \- メモリ領域に対してメモリポリシーを設定する
 .SH 書式
 .nf
 \fB#include <numaif.h>\fP
@@ -101,14 +101,12 @@ context)  に移動した場合でも、そのプロセスの現在の CPU 集
 \fBMPOL_F_RELATIVE_NODES\fP (Linux\-2.6.26 以降)
 空でない \fInodemask\fP は、そのプロセスの現在の CPU 集合で許可されているノード ID 集合 における相対的なノード ID である。
 .PP
-\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.
+\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 モードフラグが指定されていない場合)、メモリがあるノードが
+少なくとも一つ入っていなければならない。
 
 モード \fBMPOL_DEFAULT\fP はデフォルトではないプロセスのメモリポリシーを削除し、 デフォルトの動作に戻すことを指定するものである。
 \fBmbind\fP()  経由で、あるメモリ領域に対して \fBMPOL_DEFAULT\fP