1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2013-03-22 01:06+0900\n"
10 "PO-Revision-Date: 2013-03-24 01:26+0900\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
19 #: build/C/man2/get_mempolicy.2:27
22 msgstr "GET_MEMPOLICY"
25 #: build/C/man2/get_mempolicy.2:27 build/C/man2/mbind.2:45
26 #: build/C/man2/set_mempolicy.2:27
32 #: build/C/man2/get_mempolicy.2:27 build/C/man2/getcpu.2:12
33 #: build/C/man2/mbind.2:45 build/C/man2/migrate_pages.2:18
34 #: build/C/man2/move_pages.2:18 build/C/man7/numa.7:29
35 #: build/C/man2/set_mempolicy.2:27
41 #: build/C/man2/get_mempolicy.2:27 build/C/man2/getcpu.2:12
42 #: build/C/man2/mbind.2:45 build/C/man2/migrate_pages.2:18
43 #: build/C/man2/move_pages.2:18 build/C/man7/numa.7:29
44 #: build/C/man2/set_mempolicy.2:27
46 msgid "Linux Programmer's Manual"
47 msgstr "Linux Programmer's Manual"
50 #: build/C/man2/get_mempolicy.2:28 build/C/man2/getcpu.2:13
51 #: build/C/man2/mbind.2:46 build/C/man2/migrate_pages.2:19
52 #: build/C/man2/move_pages.2:19 build/C/man7/numa.7:30
53 #: build/C/man2/set_mempolicy.2:28
59 #: build/C/man2/get_mempolicy.2:30
61 #| msgid "get_mempolicy - Retrieve NUMA memory policy for a process"
62 msgid "get_mempolicy - retrieve NUMA memory policy for a process"
63 msgstr "get_mempolicy - プロセスの NUMA メモリのポリシーを取得する"
66 #: build/C/man2/get_mempolicy.2:30 build/C/man2/getcpu.2:15
67 #: build/C/man2/mbind.2:48 build/C/man2/migrate_pages.2:21
68 #: build/C/man2/move_pages.2:21 build/C/man2/set_mempolicy.2:30
74 #: build/C/man2/get_mempolicy.2:32
75 msgid "B<#include E<lt>numaif.hE<gt>>"
76 msgstr "B<#include E<lt>numaif.hE<gt>>"
79 #: build/C/man2/get_mempolicy.2:37
82 "B<int get_mempolicy(int *>I<mode>B<, unsigned long *>I<nodemask>B<,>\n"
83 "B< unsigned long >I<maxnode>B<, unsigned long >I<addr>B<,>\n"
84 "B< unsigned long >I<flags>B<);>\n"
86 "B<int get_mempolicy(int *>I<mode>B<, unsigned long *>I<nodemask>B<,>\n"
87 "B< unsigned long >I<maxnode>B<, unsigned long >I<addr>B<,>\n"
88 "B< unsigned long >I<flags>B<);>\n"
91 #: build/C/man2/get_mempolicy.2:39 build/C/man2/mbind.2:57
92 #: build/C/man2/set_mempolicy.2:38
94 msgid "Link with I<-lnuma>.\n"
95 msgstr "I<-lnuma> でリンクする。\n"
98 #: build/C/man2/get_mempolicy.2:40 build/C/man2/getcpu.2:25
99 #: build/C/man2/mbind.2:58 build/C/man2/migrate_pages.2:31
100 #: build/C/man2/move_pages.2:30 build/C/man7/numa.7:32
101 #: build/C/man2/set_mempolicy.2:39
107 #: build/C/man2/get_mempolicy.2:45
109 "B<get_mempolicy>() retrieves the NUMA policy of the calling process or of a "
110 "memory address, depending on the setting of I<flags>."
112 "B<get_mempolicy>() は、呼び出し元プロセスもしくは指定されたメモリアドレスの "
113 "NUMA ポリシーを I<flags> の設定に従って取得する。"
116 #: build/C/man2/get_mempolicy.2:50 build/C/man2/set_mempolicy.2:54
118 "A NUMA machine has different memory controllers with different distances to "
119 "specific CPUs. The memory policy defines from which node memory is "
120 "allocated for the process."
122 "NUMA (非対称メモリアクセス) マシンでは、CPU により メモリコントローラが異な"
123 "り、距離も異なっている。 メモリポリシーは、どのノードからメモリをそのプロセス"
127 #: build/C/man2/get_mempolicy.2:67
129 "If I<flags> is specified as 0, then information about the calling process's "
130 "default policy (as set by B<set_mempolicy>(2)) is returned. The policy "
131 "returned [I<mode> and I<nodemask>] may be used to restore the process's "
132 "policy to its state at the time of the call to B<get_mempolicy>() using "
133 "B<set_mempolicy>(2)."
135 "I<flags> に 0 が指定された場合、 (B<set_mempolicy>(2) で設定された) 呼び出"
136 "し元プロセスのデフォルトポリシーに関する情報を返す。 返されたポリシー "
137 "[I<mode> と I<nodemask>] を B<set_mempolicy>(2) に渡すことで、そのプロセスの"
138 "ポリシーを B<get_mempolicy>() を呼び出した時点の状態に戻すことができる。"
141 #: build/C/man2/get_mempolicy.2:89
143 "If I<flags> specifies B<MPOL_F_MEMS_ALLOWED> (available since Linux 2.6.24), "
144 "the I<mode> argument is ignored and the set of nodes [memories] that the "
145 "process is allowed to specify in subsequent calls to B<mbind>(2) or "
146 "B<set_mempolicy>(2) [in the absence of any I<mode flags>] is returned in "
147 "I<nodemask>. It is not permitted to combine B<MPOL_F_MEMS_ALLOWED> with "
148 "either B<MPOL_F_ADDR> or B<MPOL_F_NODE>."
150 "I<flags> に B<MPOL_F_MEMS_ALLOWED> (Linux 2.6.24 以降で利用可能) を指定する"
151 "と、 I<mode> 引き数は無視され、 そのプロセスがその後の B<mbind>(2) や "
152 "B<set_mempolicy>(2) で [I<モードフラグ> が指定されていない場合に ] 指定でき"
153 "るノード (メモリ) の集合が I<nodemask> に返される。 B<MPOL_F_MEMS_ALLOWED> "
154 "を、 B<MPOL_F_ADDR> や B<MPOL_F_NODE> と同時に指定することはできない。"
157 #: build/C/man2/get_mempolicy.2:103
159 "If I<flags> specifies B<MPOL_F_ADDR>, then information is returned about the "
160 "policy governing the memory address given in I<addr>. This policy may be "
161 "different from the process's default policy if B<mbind>(2) or one of the "
162 "helper functions described in B<numa>(3) has been used to establish a "
163 "policy for the memory range containing I<addr>."
165 "I<flags> に B<MPOL_F_ADDR> が指定された場合、 I<addr> で指定されたメモリアド"
166 "レスに適用されているポリシーに関する情報を返す。 B<mbind>(2) や B<numa>(3) "
167 "で説明されているヘルパー関数を使って、 I<addr> を含むメモリ領域に対するポリ"
168 "シーが設定されていた場合には、 返されるポリシーはプロセスのデフォルトポリシー"
172 #: build/C/man2/get_mempolicy.2:124
174 "If the I<mode> argument is not NULL, then B<get_mempolicy>() will store the "
175 "policy mode and any optional I<mode flags> of the requested NUMA policy in "
176 "the location pointed to by this argument. If I<nodemask> is not NULL, then "
177 "the nodemask associated with the policy will be stored in the location "
178 "pointed to by this argument. I<maxnode> specifies the number of node IDs "
179 "that can be stored into I<nodemask>\\(emthat is, the maximum node ID plus "
180 "one. The value specified by I<maxnode> is always rounded to a multiple of "
181 "I<sizeof(unsigned long)>."
183 "I<mode> 引き数が NULL でない場合、 B<get_mempolicy>() は要求された NUMA ポリ"
184 "シーのモードと追加の I<モードフラグ> を I<mode> が指す場所に格納する。 "
185 "I<nodemask> が NULL 以外の場合、そのポリシーに対応するノードマスクを この引き"
186 "数が指す場所に格納する。 I<maxnode> には I<nodemask> に格納できるノード ID の"
187 "数、つまり最大ノード ID に 1 を足した値を指定する。 I<maxnode> で指定された値"
188 "は常に I<sizeof(unsigned long)> の倍数に切り上げられる。"
191 #: build/C/man2/get_mempolicy.2:141
193 "If I<flags> specifies both B<MPOL_F_NODE> and B<MPOL_F_ADDR>, "
194 "B<get_mempolicy>() will return the node ID of the node on which the address "
195 "I<addr> is allocated into the location pointed to by I<mode>. If no page "
196 "has yet been allocated for the specified address, B<get_mempolicy>() will "
197 "allocate a page as if the process had performed a read [load] access to that "
198 "address, and return the ID of the node where that page was allocated."
200 "I<flags> で B<MPOL_F_NODE> と B<MPOL_F_ADDR> の両方が指定された場合、 "
201 "B<get_mempolicy>() はアドレス I<addr> が割り当てられているノードのノード ID "
202 "を I<mode> が指す場所に入れて返す。 指定されたアドレスにどのページもまだ割り"
203 "当てられていない場合、 B<get_mempolicy>() は、あたかもそのプロセスがそのアド"
204 "レスに対して読み込みアクセスを 実行したかのようにページの割り当てを行い、ペー"
205 "ジが割り当てられた ノードの ID を返す。"
207 #. Note: code returns next interleave node via 'mode' argument -Lee Schermerhorn
209 #: build/C/man2/get_mempolicy.2:166
211 "If I<flags> specifies B<MPOL_F_NODE>, but not B<MPOL_F_ADDR>, and the "
212 "process's current policy is B<MPOL_INTERLEAVE>, then B<get_mempolicy>() "
213 "will return in the location pointed to by a non-NULL I<mode> argument, the "
214 "node ID of the next node that will be used for interleaving of internal "
215 "kernel pages allocated on behalf of the process. These allocations include "
216 "pages for memory mapped files in process memory ranges mapped using the "
217 "B<mmap>(2) call with the B<MAP_PRIVATE> flag for read accesses, and in "
218 "memory ranges mapped with the B<MAP_SHARED> flag for all accesses."
220 "I<flags> で B<MPOL_F_NODE> は指定されたが、 B<MPOL_F_ADDR> は指定されていない"
221 "場合で、かつ そのプロセスの現在のポリシーが B<MPOL_INTERLEAVE> の場合、 "
222 "B<get_mempolicy>() は、そのプロセスに対して割り当てられたカーネルの内部ペー"
223 "ジで 次にインターリーブ用に使用されるノードのノード ID を、 NULL でない "
224 "I<mode> 引き数が指す場所に入れて返す。 読み込みアクセス用として "
225 "B<MAP_PRIVATE> フラグ付きで B<mmap>(2) したプロセスメモリ領域や、 任意のアク"
226 "セス用として B<MAP_SHARED> フラグ付きで B<mmap>(2) したメモリ領域の、メモリ"
227 "マップされたファイルに対するページも 上記のプロセスに対して割り当てられたペー"
231 #: build/C/man2/get_mempolicy.2:168
232 msgid "Other flag values are reserved."
233 msgstr "他のフラグは予約されている。"
236 #: build/C/man2/get_mempolicy.2:171
237 msgid "For an overview of the possible policies see B<set_mempolicy>(2)."
238 msgstr "設定可能なポリシーの概要については B<set_mempolicy>(2) を参照。"
241 #: build/C/man2/get_mempolicy.2:171 build/C/man2/getcpu.2:59
242 #: build/C/man2/mbind.2:309 build/C/man2/migrate_pages.2:88
243 #: build/C/man2/move_pages.2:141 build/C/man2/set_mempolicy.2:220
249 #: build/C/man2/get_mempolicy.2:178
251 "On success, B<get_mempolicy>() returns 0; on error, -1 is returned and "
252 "I<errno> is set to indicate the error."
254 "成功すると、 B<get_mempolicy>() は 0 を返す。エラーの場合、-1 を返し、 "
255 "I<errno> にエラーを示す値を設定する。"
258 #: build/C/man2/get_mempolicy.2:178 build/C/man2/getcpu.2:64
259 #: build/C/man2/mbind.2:317 build/C/man2/migrate_pages.2:96
260 #: build/C/man2/move_pages.2:150 build/C/man2/set_mempolicy.2:227
266 #: build/C/man2/get_mempolicy.2:179 build/C/man2/getcpu.2:65
267 #: build/C/man2/mbind.2:319 build/C/man2/move_pages.2:159
268 #: build/C/man2/set_mempolicy.2:228
274 #: build/C/man2/get_mempolicy.2:186 build/C/man2/set_mempolicy.2:235
276 "Part of all of the memory range specified by I<nodemask> and I<maxnode> "
277 "points outside your accessible address space."
279 "I<nodemask> と I<maxnode> で指定されたメモリ領域の一部または全部が、 呼び出し"
280 "元がアクセス可能なアドレス空間外を指している。"
283 #: build/C/man2/get_mempolicy.2:186 build/C/man2/mbind.2:327
284 #: build/C/man2/move_pages.2:162 build/C/man2/set_mempolicy.2:235
290 #: build/C/man2/get_mempolicy.2:230
292 "The value specified by I<maxnode> is less than the number of node IDs "
293 "supported by the system. Or I<flags> specified values other than "
294 "B<MPOL_F_NODE> or B<MPOL_F_ADDR>; or I<flags> specified B<MPOL_F_ADDR> and "
295 "I<addr> is NULL, or I<flags> did not specify B<MPOL_F_ADDR> and I<addr> is "
296 "not NULL. Or, I<flags> specified B<MPOL_F_NODE> but not B<MPOL_F_ADDR> and "
297 "the current process policy is not B<MPOL_INTERLEAVE>. Or, I<flags> "
298 "specified B<MPOL_F_MEMS_ALLOWED> with either B<MPOL_F_ADDR> or "
299 "B<MPOL_F_NODE>. (And there are other B<EINVAL> cases.)"
301 "I<maxnode> で指定された値がシステムがサポートするノード ID の数よりも少な"
302 "い。 または、 I<flags> に B<MPOL_F_NODE> でも B<MPOL_F_ADDR> でもない値が指定"
303 "された。 または、 I<flags> に B<MPOL_F_ADDR> が指定されており、 I<addr> が "
304 "NULL である。 または、 I<flags> に B<MPOL_F_ADDR> がされておらず、 I<addr> "
305 "が NULL でない。 または、 I<flags> に B<MPOL_F_NODE> が指定されており、 "
306 "B<MPOL_F_ADDR> が指定されておらず、 プロセスの現在のポリシーが "
307 "B<MPOL_INTERLEAVE> でない。 または、 I<flags> に B<MPOL_F_MEMS_ALLOWED> が指"
308 "定されており、さらに B<MPOL_F_ADDR> か B<MPOL_F_NODE> のいずれかが指定されて"
309 "いる。 (他にも B<EINVAL> となる場合がある。)"
312 #: build/C/man2/get_mempolicy.2:230 build/C/man2/getcpu.2:68
313 #: build/C/man2/mbind.2:399 build/C/man2/migrate_pages.2:112
314 #: build/C/man2/move_pages.2:190 build/C/man2/set_mempolicy.2:275
320 #: build/C/man2/get_mempolicy.2:234
322 "The B<get_mempolicy>() system call was added to the Linux kernel in version "
325 "B<get_mempolicy>() システムコールはバージョン 2.6.7 で Linux カーネルに追加"
329 #: build/C/man2/get_mempolicy.2:234 build/C/man2/getcpu.2:71
330 #: build/C/man2/mbind.2:403 build/C/man2/migrate_pages.2:116
331 #: build/C/man2/move_pages.2:193 build/C/man7/numa.7:148
332 #: build/C/man2/set_mempolicy.2:279
334 msgid "CONFORMING TO"
338 #: build/C/man2/get_mempolicy.2:236 build/C/man2/mbind.2:405
339 #: build/C/man2/migrate_pages.2:118 build/C/man2/move_pages.2:195
340 #: build/C/man2/set_mempolicy.2:281
341 msgid "This system call is Linux-specific."
342 msgstr "このシステムコールは Linux 固有である。"
345 #: build/C/man2/get_mempolicy.2:236 build/C/man2/getcpu.2:74
346 #: build/C/man2/mbind.2:405 build/C/man2/migrate_pages.2:118
347 #: build/C/man2/move_pages.2:195 build/C/man7/numa.7:150
348 #: build/C/man2/set_mempolicy.2:281
354 #: build/C/man2/get_mempolicy.2:239 build/C/man2/mbind.2:408
355 #: build/C/man2/migrate_pages.2:121 build/C/man2/move_pages.2:198
356 #: build/C/man2/set_mempolicy.2:289
357 msgid "For information on library support, see B<numa>(7)."
358 msgstr "ライブラリによるサポートについては B<numa>(7) を参照。"
361 #: build/C/man2/get_mempolicy.2:239 build/C/man2/getcpu.2:137
362 #: build/C/man2/mbind.2:457 build/C/man2/migrate_pages.2:148
363 #: build/C/man2/move_pages.2:225 build/C/man7/numa.7:183
364 #: build/C/man2/set_mempolicy.2:289
370 #: build/C/man2/get_mempolicy.2:247
372 "B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<set_mempolicy>(2), B<numa>(3), "
373 "B<numa>(7), B<numactl>(8)"
375 "B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<set_mempolicy>(2), B<numa>(3), "
376 "B<numa>(7), B<numactl>(8)"
379 #: build/C/man2/get_mempolicy.2:247 build/C/man2/getcpu.2:143
380 #: build/C/man2/mbind.2:468 build/C/man2/migrate_pages.2:161
381 #: build/C/man2/move_pages.2:235 build/C/man7/numa.7:191
382 #: build/C/man2/set_mempolicy.2:298
388 #: build/C/man2/get_mempolicy.2:254 build/C/man2/getcpu.2:150
389 #: build/C/man2/mbind.2:475 build/C/man2/migrate_pages.2:168
390 #: build/C/man2/move_pages.2:242 build/C/man7/numa.7:198
391 #: build/C/man2/set_mempolicy.2:305
393 "This page is part of release 3.50 of the Linux I<man-pages> project. A "
394 "description of the project, and information about reporting bugs, can be "
395 "found at http://www.kernel.org/doc/man-pages/."
397 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.50 の一部\n"
398 "である。プロジェクトの説明とバグ報告に関する情報は\n"
399 "http://www.kernel.org/doc/man-pages/ に書かれている。"
402 #: build/C/man2/getcpu.2:12
408 #: build/C/man2/getcpu.2:12
410 #| msgid "2012-05-09"
415 #: build/C/man2/getcpu.2:15
417 "getcpu - determine CPU and NUMA node on which the calling thread is running"
418 msgstr "getcpu - 呼び出し元スレッドが動作している CPU と NUMA ノードを判定する"
421 #: build/C/man2/getcpu.2:18
423 msgid "B<#include E<lt>linux/getcpu.hE<gt>>\n"
424 msgstr "B<#include E<lt>linux/getcpu.hE<gt>>\n"
427 #: build/C/man2/getcpu.2:21
429 msgid "B<int getcpu(unsigned *>I<cpu>B<, unsigned *>I<node>B<, struct getcpu_cache *>I<tcache>B<);>\n"
430 msgstr "B<int getcpu(unsigned *>I<cpu>B<, unsigned *>I<node>B<, struct getcpu_cache *>I<tcache>B<);>\n"
433 #: build/C/man2/getcpu.2:25
434 msgid "I<Note>: There is no glibc wrapper for this system call; see NOTES."
438 #: build/C/man2/getcpu.2:42
440 "The B<getcpu>() system call identifies the processor and node on which the "
441 "calling thread or process is currently running and writes them into the "
442 "integers pointed to by the I<cpu> and I<node> arguments. The processor is a "
443 "unique small integer identifying a CPU. The node is a unique small "
444 "identifier identifying a NUMA node. When either I<cpu> or I<node> is NULL "
445 "nothing is written to the respective pointer."
447 "B<getcpu>() システムコールは、呼び出し元のスレッドやプロセスが\n"
448 "現在動作しているプロセッサやノードの情報を特定し、\n"
449 "それぞれ引き数 I<cpu> と I<node> が指す整数に書き込む。\n"
450 "プロセッサ情報は CPU を識別するための一意な小さな整数である。\n"
451 "ノード情報は NUMAノードを識別するための一意な小さな整数である。\n"
452 "I<cpu> か I<node> のいずれかが NULL であれば、\n"
453 "その引き数に対応する情報の書き込みは行われない。"
456 #: build/C/man2/getcpu.2:44
457 msgid "The third argument to this system call is nowadays unused (see NOTES)."
459 "このシステムコールの 3 番目の引き数は現在は使われていない\n"
463 #: build/C/man2/getcpu.2:59
465 "The information placed in I<cpu> is only guaranteed to be current at the "
466 "time of the call: unless the CPU affinity has been fixed using "
467 "B<sched_setaffinity>(2), the kernel might change the CPU at any time. "
468 "(Normally this does not happen because the scheduler tries to minimize "
469 "movements between CPUs to keep caches hot, but it is possible.) The caller "
470 "must allow for the possibility that the information returned in I<cpu> and "
471 "I<node> is no longer current by the time the call returns."
473 "I<cpu> に格納された情報が最新だと保証できるのは、システムコールが呼ばれ\n"
474 "た時点だけである。B<sched_setaffinity>(2) を使って CPU affinity が固定\n"
475 "されていない限り、カーネルはいつでも CPU を変更してもよい (スケジューラ\n"
476 "はキャッシュが有効に働くように CPU の移動を最小限にしようとするので、\n"
477 "通常は CPU が変更されることはないが、起きる可能性はある)。\n"
478 "I<cpu> や I<node> で返された情報が呼び出しが返った時点ですでに\n"
479 "最新の状況と異なる可能性があり、呼び出し元はこの可能性を考慮して\n"
483 #: build/C/man2/getcpu.2:64
485 "On success, 0 is returned. On error, -1 is returned, and I<errno> is set "
489 "エラーの場合、-1 を返し、 I<errno> にエラーを示す値を設定する。"
492 #: build/C/man2/getcpu.2:68
493 msgid "Arguments point outside the calling process's address space."
494 msgstr "引き数が呼び出したプロセスのアドレス空間外を指している。"
497 #: build/C/man2/getcpu.2:71
498 msgid "B<getcpu>() was added in kernel 2.6.19 for x86_64 and i386."
499 msgstr "B<getcpu>() はカーネル 2.6.19 で x86_64 と i386 向けに追加された."
502 #: build/C/man2/getcpu.2:74
503 msgid "B<getcpu>() is Linux specific."
504 msgstr "B<getcpu>() は Linux 固有である。"
507 #: build/C/man2/getcpu.2:80
509 "Linux makes a best effort to make this call as fast possible. The intention "
510 "of B<getcpu>() is to allow programs to make optimizations with per-CPU data "
511 "or for NUMA optimization."
513 "Linux はこのシステムコールを可能な限り早く実行しようとする。\n"
514 "B<getcpu>() は、CPU 毎のデータに対する最適化や NUMA 環境での最適化を\n"
515 "プログラムが行えるようにすることを目的として実装されているからである。"
518 #: build/C/man2/getcpu.2:86
520 "Glibc does not provide a wrapper for this system call; call it using "
521 "B<syscall>(2); or use B<sched_getcpu>(3) instead."
523 "glibc はこのシステムコールに対するラッパー関数を提供していない。\n"
524 "B<syscall>(2) を使って呼び出すか、\n"
525 "代わりに B<sched_getcpu>(3) を使用すること。"
527 #. commit 4307d1e5ada595c87f9a4d16db16ba5edb70dcb1
528 #. Author: Ingo Molnar <mingo@elte.hu>
529 #. Date: Wed Nov 7 18:37:48 2007 +0100
530 #. x86: ignore the sys_getcpu() tcache parameter
531 #. ===== Before kernel 2.6.24: =====
534 #. .IR "struct getcpu_cache"
535 #. that is used as a cache by
537 #. The caller should put the cache into a thread-local variable
538 #. if the process is multithreaded,
539 #. because the cache cannot be shared between different threads.
544 #. will use it to speed up operation.
545 #. The information inside the cache is private to the system call
546 #. and should not be accessed by the user program.
547 #. The information placed in the cache can change between kernel releases.
548 #. When no cache is specified
551 #. but always retrieve the current CPU and node information.
555 #. However, the cached information is only updated once per jiffy (see
557 #. This means that the information could theoretically be out of date,
558 #. although in practice the scheduler's attempt to maintain
559 #. soft CPU affinity means that the information is unlikely to change
560 #. over the course of the caching interval.
562 #: build/C/man2/getcpu.2:137
564 "The I<tcache> argument is unused since Linux 2.6.24. In earlier kernels, if "
565 "this argument was non-NULL, then it specified a pointer to a caller-"
566 "allocated buffer in thread-local storage that was used to provide a caching "
567 "mechanism for B<getcpu>(). Use of the cache could speed B<getcpu>() calls, "
568 "at the cost that there was a very small chance that the returned information "
569 "would be out of date. The caching mechanism was considered to cause "
570 "problems when migrating threads between CPUs, and so the argument is now "
573 "I<tcache> 引き数は Linux 2.6.24 以降では使用されない。以前のバージョン\n"
574 "のカーネルでは、この引き数が NULL 以外の場合、この引き数には、呼び出し\n"
575 "元が割り当てたスレッド専用の記憶領域 (thread-local storage) 内のバッファ\n"
576 "を指すポインタが指定され、このバッファは B<getcpu>() 用のキャッシュ機構\n"
577 "を提供するために利用されていた。非常に低い確率だが古い情報を返してしま\n"
578 "うデメリットはあるものの、このキャッシュを使うことで B<getcpu>() システ\n"
579 "ムコールを高速化できた。このキャッシュ機構はCPU 間でのスレッドの移動時\n"
580 "に問題になると考えられ、この引き数は今では無視されるようになっている。"
583 #: build/C/man2/getcpu.2:143
585 "B<mbind>(2), B<sched_setaffinity>(2), B<set_mempolicy>(2), B<sched_getcpu>"
588 "B<mbind>(2), B<sched_setaffinity>(2), B<set_mempolicy>(2), B<sched_getcpu>"
592 #: build/C/man2/mbind.2:45
598 #: build/C/man2/mbind.2:48
600 #| msgid "mbind - Set memory policy for a memory range"
601 msgid "mbind - set memory policy for a memory range"
602 msgstr "mbind - メモリ領域に対してメモリポリシーを設定する"
605 #: build/C/man2/mbind.2:51 build/C/man2/migrate_pages.2:24
606 #: build/C/man2/move_pages.2:24 build/C/man2/set_mempolicy.2:33
608 msgid "B<#include E<lt>numaif.hE<gt>>\n"
609 msgstr "B<#include E<lt>numaif.hE<gt>>\n"
612 #: build/C/man2/mbind.2:55
615 "B<int mbind(void *>I<addr>B<, unsigned long >I<len>B<, int >I<mode>B<,>\n"
616 "B< unsigned long *>I<nodemask>B<, unsigned long >I<maxnode>B<,>\n"
617 "B< unsigned >I<flags>B<);>\n"
619 "B<int mbind(void *>I<addr>B<, unsigned long >I<len>B<, int >I<mode>B<,>\n"
620 "B< unsigned long *>I<nodemask>B<, unsigned long >I<maxnode>B<,>\n"
621 "B< unsigned >I<flags>B<);>\n"
624 #: build/C/man2/mbind.2:68
626 "B<mbind>() sets the NUMA memory policy, which consists of a policy mode and "
627 "zero or more nodes, for the memory range starting with I<addr> and "
628 "continuing for I<len> bytes. The memory policy defines from which node "
629 "memory is allocated."
631 "B<mbind>() は、 I<addr> から始まる長さ I<len> バイトの範囲のメモリに NUMA メ"
632 "モリポリシーを設定する。 NUMA ポリシーはポリシーモードと 0 個以上のノードから"
633 "構成される。 メモリポリシーはどのノードからメモリを割り当てるかを決定する。"
636 #: build/C/man2/mbind.2:90
638 "If the memory range specified by the I<addr> and I<len> arguments includes "
639 "an \"anonymous\" region of memory\\(emthat is a region of memory created "
640 "using the B<mmap>(2) system call with the B<MAP_ANONYMOUS>\\(emor a memory "
641 "mapped file, mapped using the B<mmap>(2) system call with the "
642 "B<MAP_PRIVATE> flag, pages will only be allocated according to the specified "
643 "policy when the application writes [stores] to the page. For anonymous "
644 "regions, an initial read access will use a shared page in the kernel "
645 "containing all zeros. For a file mapped with B<MAP_PRIVATE>, an initial "
646 "read access will allocate pages according to the process policy of the "
647 "process that causes the page to be allocated. This may not be the process "
648 "that called B<mbind>()."
650 "I<addr> と I<len> で指定されたメモリ範囲に、 メモリの「無名」領域 \\(em "
651 "B<MAP_ANONYMOUS> 付きの B<mmap>(2) システムコールを使って作成されたメモリ領"
652 "域 \\(em や B<MAP_PRIVATE> 付きの B<mmap>(2) を使ってマップされたメモリマッ"
653 "プ・ファイルが含まれている場合、 ページが指定されたポリシーに基づいて割り当て"
654 "られるのは、アプリケーション がそのページへの書き込み (データの格納) を行った"
655 "時だけである。 無名領域の場合、最初の読み出しアクセスの際には カーネル内の全"
656 "データが 0 である共有ページが使用される。 B<MAP_PRIVATE> でマップされたファイ"
657 "ルの場合、最初の読み出しアクセスがあると、 ページ割り当てが発生するきっかけと"
658 "なったプロセスのデフォルトポリシー にしたがってページの割り当てが行われる。 "
659 "ページ割り当てのきっかけとなったプロセスは、 B<mbind>() を呼び出したプロセス"
663 #: build/C/man2/mbind.2:98
665 "The specified policy will be ignored for any B<MAP_SHARED> mappings in the "
666 "specified memory range. Rather the pages will be allocated according to the "
667 "process policy of the process that caused the page to be allocated. Again, "
668 "this may not be the process that called B<mbind>()."
670 "指定されたメモリ範囲内にある B<MAP_SHARED> のマッピングでは指定されたポリシー"
671 "は無視され、 ページ割り当てが発生するきっかけとなったプロセスのデフォルトポリ"
672 "シーに したがってページの割り当てが行われることになる。 繰り返しになるが、"
673 "ページ割り当てのきっかけとなったプロセスは、 B<mbind>() を呼び出したプロセス"
677 #: build/C/man2/mbind.2:115
679 "If the specified memory range includes a shared memory region created using "
680 "the B<shmget>(2) system call and attached using the B<shmat>(2) system "
681 "call, pages allocated for the anonymous or shared memory region will be "
682 "allocated according to the policy specified, regardless which process "
683 "attached to the shared memory segment causes the allocation. If, however, "
684 "the shared memory region was created with the B<SHM_HUGETLB> flag, the huge "
685 "pages will be allocated according to the policy specified only if the page "
686 "allocation is caused by the process that calls B<mbind>() for that region."
688 "指定されたメモリ範囲に、 B<shmget>(2) システムコールを使って作成されたり、 "
689 "B<shmat>(2) システムコールを使って付加 (attach) されたりした共有メモリ領域"
690 "が 含まれる場合、無名メモリ領域や共有メモリ領域に対するページ割り当ては、 共"
691 "有メモリセグメントへポリシーの設定を行ったプロセスがページ割り当て のきっかけ"
692 "となったかに関わらず、指定されたポリシーにしたがって割り当て が行われる。 し"
693 "かしながら、共有メモリ領域が B<SHM_HUGETLB> フラグを指定して作成された場合に"
694 "は、ヒュージページ (huge page) の割り当てが 指定されたポリシーにしたがって行"
695 "われるのは、その領域に対して B<mbind>() を呼び出したプロセスがページ割り当て"
699 #: build/C/man2/mbind.2:126
701 "By default, B<mbind>() only has an effect for new allocations; if the pages "
702 "inside the range have been already touched before setting the policy, then "
703 "the policy has no effect. This default behavior may be overridden by the "
704 "B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> flags described below."
706 "デフォルトでは、 B<mbind>() は新規のメモリ割り当てに対してのみ効果を持つ。 "
707 "ポリシーが設定される前にすでに使用されている範囲内のページに対しては、 ポリ"
708 "シーは影響しない。 このデフォルトの動作は、以下で説明するフラグ "
709 "B<MPOL_MF_MOVE> や B<MPOL_MF_MOVE_ALL> により上書きされる可能性がある。"
712 #: build/C/man2/mbind.2:141
714 "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
715 "B<MPOL_INTERLEAVE> or B<MPOL_PREFERRED>. All policy modes except "
716 "B<MPOL_DEFAULT> require the caller to specify via the I<nodemask> argument, "
717 "the node or nodes to which the mode applies."
719 "I<mode> 引き数には、 B<MPOL_DEFAULT>, B<MPOL_BIND>, B<MPOL_INTERLEAVE>, "
720 "B<MPOL_PREFERRED> のいずれか一つを指定しなければならない。 B<MPOL_DEFAULT> 以"
721 "外のポリシーモードの場合、呼び出し元は I<nodemask> 引き数でそのポリシーモード"
722 "を適用するノードを指定する必要がある。"
725 #: build/C/man2/mbind.2:149
727 "The I<mode> argument may also include an optional I<mode flag >. The "
728 "supported I<mode flags> are:"
730 "I<mode> 引き数には、追加で I<モードフラグ> を含めることもできる。 サポートさ"
731 "れている I<モードフラグ> は以下の通りである。"
734 #: build/C/man2/mbind.2:149
736 msgid "B<MPOL_F_STATIC_NODES> (since Linux-2.6.26)"
737 msgstr "B<MPOL_F_STATIC_NODES> (Linux-2.6.26 以降)"
740 #: build/C/man2/mbind.2:159
742 "A nonempty I<nodemask> specifies physical node ids. Linux does not remap "
743 "the I<nodemask> when the process moves to a different cpuset context, nor "
744 "when the set of nodes allowed by the process's current cpuset context "
747 "空でない I<nodemask> は、物理ノード ID である。 Linux では、そのプロセスが異"
748 "なる CPU 集合コンテキスト (cpuset context) に移動した場合でも、そのプロセス"
749 "の現在の CPU 集合コンテキストで 許可されているノード集合が変化した場合でも、 "
750 "I<nodemask> をマッピングし直すことはない。"
753 #: build/C/man2/mbind.2:159
755 msgid "B<MPOL_F_RELATIVE_NODES> (since Linux-2.6.26)"
756 msgstr "B<MPOL_F_RELATIVE_NODES> (Linux-2.6.26 以降)"
759 #: build/C/man2/mbind.2:165 build/C/man2/set_mempolicy.2:113
761 "A nonempty I<nodemask> specifies node ids that are relative to the set of "
762 "node ids allowed by the process's current cpuset."
764 "空でない I<nodemask> は、そのプロセスの現在の CPU 集合で許可されているノード "
765 "ID 集合 における相対的なノード ID である。"
768 #: build/C/man2/mbind.2:193
771 #| "I<nodemask> points to a bitmask of nodes containing up to I<maxnode> "
772 #| "bits. The bit mask size is rounded to the next multiple of I<sizeof"
773 #| "(unsigned long)>, but the kernel will only use bits up to I<maxnode>. A "
774 #| "NULL value of I<nodemask> or a I<maxnode> value of zero specifies the "
775 #| "empty set of nodes. If the value of I<maxnode> is zero, the I<nodemask> "
776 #| "argument is ignored. Where a I<nodemask> is required, it must contain at "
777 #| "least one node that is on-line, allowed by the process's current cpuset "
778 #| "context [unless the B<MPOL_F_STATIC_NODES> mode flag is specified], and "
779 #| "contains memory."
781 "I<nodemask> points to a bit mask of nodes containing up to I<maxnode> bits. "
782 "The bit mask size is rounded to the next multiple of I<sizeof(unsigned long)"
783 ">, but the kernel will only use bits up to I<maxnode>. A NULL value of "
784 "I<nodemask> or a I<maxnode> value of zero specifies the empty set of nodes. "
785 "If the value of I<maxnode> is zero, the I<nodemask> argument is ignored. "
786 "Where a I<nodemask> is required, it must contain at least one node that is "
787 "on-line, allowed by the process's current cpuset context [unless the "
788 "B<MPOL_F_STATIC_NODES> mode flag is specified], and contains memory."
790 "I<nodemask> は、最大で I<maxnode> ビットから構成されるノードのビットマスクを"
791 "指す。 ビットマスクの大きさは、直近の I<sizeof(unsigned long)> の倍数に切り上"
792 "げられるが、カーネルが使用するのは I<maxnode> 個までのビットだけである。 "
793 "NULL 値の I<nodemask> もしくは値が 0 の I<maxnode> はノードの空集合を表す。 "
794 "I<maxnode> の値が 0 の場合、 I<nodemask> 引き数は無視される。 I<nodemask> が"
795 "必須の場面では、 I<nodemask> に、オンラインで、そのプロセスの現在の CPU 集合"
796 "コンテキストで 許可されており (B<MPOL_F_STATIC_NODES> モードフラグが指定され"
797 "ていない場合)、メモリがあるノードが 少なくとも一つ入っていなければならない。"
800 #: build/C/man2/mbind.2:215
802 "The B<MPOL_DEFAULT> mode requests that any nondefault policy be removed, "
803 "restoring default behavior. When applied to a range of memory via B<mbind>"
804 "(), this means to use the process policy, which may have been set with "
805 "B<set_mempolicy>(2). If the mode of the process policy is also "
806 "B<MPOL_DEFAULT>, the system-wide default policy will be used. The system-"
807 "wide default policy allocates pages on the node of the CPU that triggers the "
808 "allocation. For B<MPOL_DEFAULT>, the I<nodemask> and I<maxnode> arguments "
809 "must be specify the empty set of nodes."
811 "モード B<MPOL_DEFAULT> はデフォルトではないプロセスのメモリポリシーを削除"
812 "し、 デフォルトの動作に戻すことを指定するものである。 B<mbind>() 経由で、あ"
813 "るメモリ領域に対して B<MPOL_DEFAULT> が適用された場合、プロセスのデフォルトポ"
814 "リシーを使用することを意味する。 プロセスのデフォルトポリシーは、 "
815 "B<set_mempolicy>(2) で変更されているかもしれない。 プロセスのポリシーのモー"
816 "ドも B<MPOL_DEFAULT> の場合、システム全体のデフォルトポリシーが使用される。 "
817 "システム全体のデフォルトポリシーでは、割り当てのきっかけとなった CPU のノード"
818 "からページの割り当てを行う。 B<MPOL_DEFAULT> では、引き数 I<nodemask> と "
819 "I<maxnode> にノードの空集合を指定しなければならない。"
822 #: build/C/man2/mbind.2:232
824 "The B<MPOL_BIND> mode specifies a strict policy that restricts memory "
825 "allocation to the nodes specified in I<nodemask>. If I<nodemask> specifies "
826 "more than one node, page allocations will come from the node with the lowest "
827 "numeric node ID first, until that node contains no free memory. Allocations "
828 "will then come from the node with the next highest node ID specified in "
829 "I<nodemask> and so forth, until none of the specified nodes contain free "
830 "memory. Pages will not be allocated from any node not specified in the "
833 "B<MPOL_BIND> は厳しいポリシーで、メモリ割り当ては I<nodemask> に指定された"
834 "ノードに限定される。 他のノードへの割り当ては行われない。 I<nodemask> に 2 個"
835 "以上のノードが指定された場合、ページの割り当ては ノード ID が数字として最小の"
836 "ノードから開始され、 そのノードに空きメモリがなくなるまでそのノードから ペー"
837 "ジ割り当てが行われる。そのノードに空きメモリがなくなったら、 次に小さなノー"
838 "ド ID を持つノードからページ割り当てが行われる。 これを、 I<nodemask> で指定"
839 "された全てのノードで空きメモリがなくなるまで繰り返す。 I<nodemask> で指定され"
840 "た以外のノードからはページの割り当ては行われない。"
843 #: build/C/man2/mbind.2:245
845 "The B<MPOL_INTERLEAVE> mode specifies that page allocations be interleaved "
846 "across the set of nodes specified in I<nodemask>. This optimizes for "
847 "bandwidth instead of latency by spreading out pages and memory accesses to "
848 "those pages across multiple nodes. To be effective the memory area should "
849 "be fairly large, at least 1MB or bigger with a fairly uniform access "
850 "pattern. Accesses to a single page of the area will still be limited to the "
851 "memory bandwidth of a single node."
853 "B<MPOL_INTERLEAVE> は、メモリ割り当てが I<nodemask> に指定されたノード間で交"
854 "互に行われることを指定するものである。 このポリシーでは、複数のノードにページ"
855 "を広げて配置し、これらのページへの メモリアクセスを分散することで、遅延ではな"
856 "く、帯域を最適化する。 効果を得るには、メモリ領域をある程度大きくすべきであ"
857 "り、 メモリアクセスのパターンがかなり均一な場合でも 少なくとも 1MB 以上にすべ"
858 "きである。 このモードでも、一つのページへのアクセスに関しては 一つのノードの"
859 "メモリ帯域が上限となることは変わりない。"
862 #: build/C/man2/mbind.2:264
864 "B<MPOL_PREFERRED> sets the preferred node for allocation. The kernel will "
865 "try to allocate pages from this node first and fall back to other nodes if "
866 "the preferred nodes is low on free memory. If I<nodemask> specifies more "
867 "than one node ID, the first node in the mask will be selected as the "
868 "preferred node. If the I<nodemask> and I<maxnode> arguments specify the "
869 "empty set, then the memory is allocated on the node of the CPU that "
870 "triggered the allocation. This is the only way to specify \"local allocation"
871 "\" for a range of memory via B<mbind>()."
873 "B<MPOL_PREFERRED> は、割り当て時に優先されるノードを設定する。 カーネルはまず"
874 "優先ノードにページ割り当てを行おうとし、 優先ノードに空きメモリが少ない場合に"
875 "他のノードに割り当てを行う。 I<nodemask> に複数のノード ID が指定された場合"
876 "は、 I<nodemask> 内の最初のノードが優先ノードとして選択される。 引き数 "
877 "I<nodemask>, I<maxnode> で空集合が指定された場合は、割り当てのきっかけとなっ"
878 "た CPU のノードに メモリ割り当てが行われる。 B<mbind>(2) で、あるメモリ領域"
879 "に対して「ローカルからの割り当て (local allocation)」を 指定する方法はこれし"
882 #. According to the kernel code, the following is not true
883 #. --Lee Schermerhorn
884 #. In 2.6.16 or later the kernel will also try to move pages
885 #. to the requested node with this flag.
887 #: build/C/man2/mbind.2:280
889 "If B<MPOL_MF_STRICT> is passed in I<flags> and I<mode> is not "
890 "B<MPOL_DEFAULT>, then the call will fail with the error B<EIO> if the "
891 "existing pages in the memory range don't follow the policy."
893 "I<flags> に B<MPOL_MF_STRICT> が 指定され、 I<mode> が B<MPOL_DEFAULT> でない"
894 "場合、 指定されたポリシーに従っていないメモリ領域にページが存在すると、 "
895 "B<mbind>() はエラー B<EIO> で失敗する。"
898 #: build/C/man2/mbind.2:293
900 "If B<MPOL_MF_MOVE> is specified in I<flags>, then the kernel will attempt to "
901 "move all the existing pages in the memory range so that they follow the "
902 "policy. Pages that are shared with other processes will not be moved. If "
903 "B<MPOL_MF_STRICT> is also specified, then the call will fail with the error "
904 "B<EIO> if some pages could not be moved."
906 "I<flags> に B<MPOL_MF_MOVE> が指定されると、カーネルはそのメモリ領域内の既存"
907 "の全てのページを移動し、 指定されたポリシーに従うようにしようとする。 他のプ"
908 "ロセスと共有されているページは移動されない。 B<MPOL_MF_STRICT> も指定された場"
909 "合、移動できなかったページがあると、 B<mbind>() はエラー B<EIO> で失敗する。"
911 #. ---------------------------------------------------------------
913 #: build/C/man2/mbind.2:309
915 "If B<MPOL_MF_MOVE_ALL> is passed in I<flags>, then the kernel will attempt "
916 "to move all existing pages in the memory range regardless of whether other "
917 "processes use the pages. The calling process must be privileged "
918 "(B<CAP_SYS_NICE>) to use this flag. If B<MPOL_MF_STRICT> is also "
919 "specified, then the call will fail with the error B<EIO> if some pages could "
922 "I<flags> に B<MPOL_MF_MOVE_ALL> が指定されると、カーネルはそのメモリ領域内の"
923 "既存の全てのページを、 他のプロセスがページを使用しているかどうかに関わらず移"
924 "動する。 このフラグを使用するには、呼び出し元のプロセスは特権 "
925 "(B<CAP_SYS_NICE>) を持っていなければならない。 B<MPOL_MF_STRICT> も指定され"
926 "た場合、移動できなかったページがあると、 B<mbind>() はエラー B<EIO> で失敗す"
929 #. ---------------------------------------------------------------
931 #: build/C/man2/mbind.2:317
933 "On success, B<mbind>() returns 0; on error, -1 is returned and I<errno> is "
934 "set to indicate the error."
936 "成功すると、 B<mbind>() は 0 を返す。エラーの場合、-1 を返し、 I<errno> にエ"
940 #: build/C/man2/mbind.2:327
942 "Part or all of the memory range specified by I<nodemask> and I<maxnode> "
943 "points outside your accessible address space. Or, there was an unmapped "
944 "hole in the specified memory range."
946 "I<nodemask> と I<maxnode> で指定されたメモリ領域の一部または全部が、 呼び出し"
947 "元がアクセス可能なアドレス空間外を指している。 もしくは指定されたメモリ領域に"
948 "マップされていない部分 (unmapped hole) があった、"
950 #. As at 2.6.23, this limit is "a page worth of bits", e.g.,
951 #. 8 * 4096 bits, assuming a 4kB page size.
953 #: build/C/man2/mbind.2:375
955 "An invalid value was specified for I<flags> or I<mode>; or I<addr + len> was "
956 "less than I<addr>; or I<addr> is not a multiple of the system page size. "
957 "Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> specified a nonempty set; or "
958 "I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and I<nodemask> is empty. Or, "
959 "I<maxnode> exceeds a kernel-imposed limit. Or, I<nodemask> specifies one or "
960 "more node IDs that are greater than the maximum supported node ID. Or, none "
961 "of the node IDs specified by I<nodemask> are on-line and allowed by the "
962 "process's current cpuset context, or none of the specified nodes contain "
963 "memory. Or, the I<mode> argument specified both B<MPOL_F_STATIC_NODES> and "
964 "B<MPOL_F_RELATIVE_NODES>."
966 "I<flags> や I<mode> に不正な値が指定された。 I<addr + len> が I<addr> より小"
967 "さい。 I<addr> がシステムのページサイズの倍数になっていない。 または I<mode> "
968 "が B<MPOL_DEFAULT> で I<nodemask> に空でない集合が指定された。 I<mode> が "
969 "B<MPOL_BIND> か B<MPOL_INTERLEAVE> で I<nodemask> が空であった。 I<maxnode> "
970 "がカーネルに適用された上限を超えている。 I<nodemask> に、サポートされている最"
971 "大ノード ID より大きいノードが指定された。 I<nodemask> に、オンラインで、かつ"
972 "そのプロセスの現在の CPU 集合コンテキストで 許可されているノードが一つも含ま"
973 "れていないか、 メモリを含むノードが一つも指定されていない。 I<mode> 引き数に "
974 "B<MPOL_F_STATIC_NODES> と B<MPOL_F_RELATIVE_NODES> の両方が指定された。"
977 #: build/C/man2/mbind.2:375
983 #: build/C/man2/mbind.2:386
985 "B<MPOL_MF_STRICT> was specified and an existing page was already on a node "
986 "that does not follow the policy; or B<MPOL_MF_MOVE> or B<MPOL_MF_MOVE_ALL> "
987 "was specified and the kernel was unable to move all existing pages in the "
990 "B<MPOL_MF_STRICT> が指定されたが、このポリシーに従っていないノードに すでに"
991 "ページが存在していた。 もしくは B<MPOL_MF_MOVE> か B<MPOL_MF_MOVE_ALL> が指定"
992 "されたが、カーネルが指定された領域内の既存の全てのページを 移動することができ"
996 #: build/C/man2/mbind.2:386 build/C/man2/set_mempolicy.2:272
1002 #: build/C/man2/mbind.2:389 build/C/man2/set_mempolicy.2:275
1003 msgid "Insufficient kernel memory was available."
1004 msgstr "利用可能なカーネルメモリが十分でなかった。"
1007 #: build/C/man2/mbind.2:389 build/C/man2/migrate_pages.2:97
1008 #: build/C/man2/move_pages.2:178
1013 #. ---------------------------------------------------------------
1015 #: build/C/man2/mbind.2:399
1017 "The I<flags> argument included the B<MPOL_MF_MOVE_ALL> flag and the caller "
1018 "does not have the B<CAP_SYS_NICE> privilege."
1020 "I<flags> 引き数に B<MPOL_MF_MOVE_ALL> フラグが含まれているが、呼び出し元が "
1021 "B<CAP_SYS_NICE> 特権を持たない。"
1024 #: build/C/man2/mbind.2:403
1026 "The B<mbind>() system call was added to the Linux kernel in version 2.6.7."
1028 "B<mbind>() システムコールはバージョン 2.6.7 で Linux カーネルに追加された。"
1031 #: build/C/man2/mbind.2:413
1033 "NUMA policy is not supported on a memory mapped file range that was mapped "
1034 "with the B<MAP_SHARED> flag."
1036 "NUMA ポリシーは、 B<MAP_SHARED> フラグが指定されてマップされたメモリマップ・"
1037 "ファイルの領域では サポートされていない。"
1040 #: build/C/man2/mbind.2:445
1042 "The B<MPOL_DEFAULT> mode can have different effects for B<mbind>() and "
1043 "B<set_mempolicy>(2). When B<MPOL_DEFAULT> is specified for B<set_mempolicy>"
1044 "(2), the process's policy reverts to system default policy or local "
1045 "allocation. When B<MPOL_DEFAULT> is specified for a range of memory using "
1046 "B<mbind>(), any pages subsequently allocated for that range will use the "
1047 "process's policy, as set by B<set_mempolicy>(2). This effectively removes "
1048 "the explicit policy from the specified range, \"falling back\" to a possibly "
1049 "nondefault policy. To select explicit \"local allocation\" for a memory "
1050 "range, specify a I<mode> of B<MPOL_PREFERRED> with an empty set of nodes. "
1051 "This method will work for B<set_mempolicy>(2), as well."
1053 "B<MPOL_DEFAULT> モードは、 B<mbind>() と B<set_mempolicy>(2) で異なる効果を"
1054 "持つことができる。 B<set_mempolicy>(2) で B<MPOL_DEFAULT> が指定された場合、"
1055 "そのプロセスのポリシーはシステムの デフォルトポリシー、すなわちローカルからの"
1056 "割り当て、に戻る。 B<mbind>() を使ってメモリのある領域に B<MPOL_DEFAULT> が"
1057 "指定された場合、その範囲に対してそれ以降に行われるページの割り当てでは、 "
1058 "B<set_mempolicy>(2) で設定したのと同じように、そのプロセスのポリシーが適用さ"
1059 "れる。 これにより、特定のメモリ領域についてだけ明示的なポリシーを削除し、 デ"
1060 "フォルトのポリシーに「戻す」ことができる。 あるメモリ領域に対して「ローカルか"
1061 "らの割り当て」を明示的に設定するには、 I<mode> に B<MPOL_PREFERRED> を指定"
1062 "し、 I<nodemask> に空集合のノードを指定すればよい。 この方法は "
1063 "B<set_mempolicy>(2) でも通用する。"
1066 #: build/C/man2/mbind.2:449
1068 "Support for huge page policy was added with 2.6.16. For interleave policy "
1069 "to be effective on huge page mappings the policied memory needs to be tens "
1070 "of megabytes or larger."
1072 "2.6.16 でヒュージページ・ポリシーへの対応が追加された。 インターリーブ・ポリ"
1073 "シーがヒュージページのマッピングで効果を持つには、 ポリシーが適用されるメモリ"
1074 "が数十メガバイト以上である必要がある。"
1077 #: build/C/man2/mbind.2:452
1078 msgid "B<MPOL_MF_STRICT> is ignored on huge page mappings."
1079 msgstr "B<MPOL_MF_STRICT> はヒュージページのマッピングでは無視される。"
1082 #: build/C/man2/mbind.2:457
1084 "B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> are only available on Linux 2.6.16 "
1087 "B<MPOL_MF_MOVE> と B<MPOL_MF_MOVE_ALL> は Linux 2.6.16 以降でのみ利用可能であ"
1091 #: build/C/man2/mbind.2:468
1093 "B<get_mempolicy>(2), B<getcpu>(2), B<mmap>(2), B<set_mempolicy>(2), B<shmat>"
1094 "(2), B<shmget>(2), B<numa>(3), B<cpuset>(7), B<numa>(7), B<numactl>(8)"
1096 "B<get_mempolicy>(2), B<getcpu>(2), B<mmap>(2), B<set_mempolicy>(2),\n"
1097 "B<shmat>(2), B<shmget>(2), B<numa>(3), B<cpuset>(7), B<numa>(7),\n"
1101 #: build/C/man2/migrate_pages.2:18
1103 msgid "MIGRATE_PAGES"
1104 msgstr "MIGRATE_PAGES"
1107 #: build/C/man2/migrate_pages.2:18
1109 #| msgid "2012-05-09"
1114 #: build/C/man2/migrate_pages.2:21
1115 msgid "migrate_pages - move all pages in a process to another set of nodes"
1116 msgstr "migrate_pages - プロセスの全ページを別のノード集合に移動する"
1119 #: build/C/man2/migrate_pages.2:28
1122 #| "B<long migrate_pages(int >I<pid>B<, unsigned long >I<maxnode,>\n"
1123 #| "B< const unsigned long *>I<old_nodes,>\n"
1124 #| "B< const unsigned long *>I<new_nodes);>\n"
1126 "B<long migrate_pages(int >I<pid>B<, unsigned long >I<maxnode,>\n"
1127 "B< const unsigned long *>I<old_nodes,>\n"
1128 "B< const unsigned long *>I<new_nodes>B<);>\n"
1130 "B<long migrate_pages(int >I<pid>B<, unsigned long >I<maxnode,>\n"
1131 "B< const unsigned long *>I<old_nodes,>\n"
1132 "B< const unsigned long *>I<new_nodes);>\n"
1135 #: build/C/man2/migrate_pages.2:31 build/C/man2/move_pages.2:30
1136 msgid "Link with I<-lnuma>."
1137 msgstr "I<-lnuma> とリンクする。"
1140 #: build/C/man2/migrate_pages.2:47
1143 #| "B<migrate_pages>() moves all pages of the process I<pid> that are in "
1144 #| "memory nodes I<old_nodes> to the memory nodes in I<new_nodes>. Pages not "
1145 #| "located in any node in I<old_nodes> will not be migrated. As far as "
1146 #| "possible, the kernel maintains the relative topology relationship inside "
1147 #| "I<old_nodes> during the migration to I<new_nodes>."
1149 "B<migrate_pages>() attempts to move all pages of the process I<pid> that "
1150 "are in memory nodes I<old_nodes> to the memory nodes in I<new_nodes>. Pages "
1151 "not located in any node in I<old_nodes> will not be migrated. As far as "
1152 "possible, the kernel maintains the relative topology relationship inside "
1153 "I<old_nodes> during the migration to I<new_nodes>."
1155 "B<MIGRATE_PAGES>() は、メモリノード I<old_nodes> にあるプロセス I<pid>\n"
1156 "の全ページを、メモリノード I<new_nodes> に移動する。I<old_nodes> で\n"
1157 "指定されたメモリノードに置かれていないページは移動されない。\n"
1158 "カーネルは、 I<new_nodes> への移動の際に、 I<old_nodes> 内の相対的な\n"
1159 "トポロジー関係を可能な限り維持しようとする。"
1162 #: build/C/man2/migrate_pages.2:69
1164 "The I<old_nodes> and I<new_nodes> arguments are pointers to bit masks of "
1165 "node numbers, with up to I<maxnode> bits in each mask. These masks are "
1166 "maintained as arrays of unsigned I<long> integers (in the last I<long> "
1167 "integer, the bits beyond those specified by I<maxnode> are ignored). The "
1168 "I<maxnode> argument is the maximum node number in the bit mask plus one "
1169 "(this is the same as in B<mbind>(2), but different from B<select>(2))."
1171 "引き数 I<old_nodes> と I<new_nodes> は、最大で I<maxnode> ビットから\n"
1172 "構成されるノード番号のビットマスクへのポインタである。\n"
1173 "各ビットマスクは符号なし I<long> 整数の配列として管理される\n"
1174 "(I<maxnode> で指定された長さを越えた部分のビットは無視される)。\n"
1175 "引き数 I<maxnode> は最大ノード番号であり、ビットマスクの長さに 1 を\n"
1176 "加えた値となる (これは B<mbind>(2) と同じだが、 B<select>(2) とは違う)。"
1179 #: build/C/man2/migrate_pages.2:83
1181 "The I<pid> argument is the ID of the process whose pages are to be moved. "
1182 "To move pages in another process, the caller must be privileged "
1183 "(B<CAP_SYS_NICE>) or the real or effective user ID of the calling process "
1184 "must match the real or saved-set user ID of the target process. If I<pid> "
1185 "is 0, then B<migrate_pages>() moves pages of the calling process."
1187 "引き数 I<pid> は、移動を行うページの所有者のプロセス ID である。\n"
1188 "別のプロセスのページを移動するには、呼び出したプロセスが特権\n"
1189 "(B<CAP_SYS_NICE>) を持っているか、呼び出したプロセスの実ユーザ ID か\n"
1190 "実効ユーザ ID がページ移動の対象プロセスの実ユーザ ID か saved-set \n"
1191 "ユーザ ID と一致していなければならない。I<pid> が 0 の場合、\n"
1192 "B<migrate_pages>() は呼び出したプロセスのページを移動する。"
1195 #: build/C/man2/migrate_pages.2:88
1197 "Pages shared with another process will only be moved if the initiating "
1198 "process has the B<CAP_SYS_NICE> privilege."
1200 "別のプロセスと共有しているページは、呼び出したプロセスが\n"
1201 "B<CAP_SYS_NICE> 特権を持っている場合にのみ移動される。"
1204 #: build/C/man2/migrate_pages.2:96
1207 #| "On success B<migrate_pages>() returns zero. On error, it returns -1, "
1208 #| "and sets I<errno> to indicate the error."
1210 "On success B<migrate_pages>() returns the number of pages that could not be "
1211 "moved (i.e., a return of zero means that all pages were successfully "
1212 "moved). On error, it returns -1, and sets I<errno> to indicate the error."
1214 "B<migrate_pages>() は成功すると 0 を返す。\n"
1215 "エラーの場合、 -1 を返し、 I<errno> にエラーを示す値を設定する。"
1218 #: build/C/man2/migrate_pages.2:106
1220 "Insufficient privilege (B<CAP_SYS_NICE>) to move pages of the process "
1221 "specified by I<pid>, or insufficient privilege (B<CAP_SYS_NICE>) to access "
1222 "the specified target nodes."
1224 "I<pid> で指定されたプロセスのページを移動するのに必要な特権\n"
1225 "(B<CAP_SYS_NICE>) がなかった。または、指定された対象ノードにアクセス\n"
1226 "するのに必要な権限 (B<CAP_SYS_NICE>) がなかった。"
1229 #: build/C/man2/migrate_pages.2:106 build/C/man2/move_pages.2:187
1234 #. FIXME There are other errors
1236 #: build/C/man2/migrate_pages.2:112
1237 msgid "No process matching I<pid> could be found."
1238 msgstr "プロセス ID が I<pid> のプロセスが見つからなかった。"
1241 #: build/C/man2/migrate_pages.2:116
1243 "The B<migrate_pages>() system call first appeared on Linux in version "
1245 msgstr "B<migrate_pages>() システムコールは Linux 2.6.16 で初めて登場した。"
1248 #: build/C/man2/migrate_pages.2:130
1250 "Use B<get_mempolicy>(2) with the B<MPOL_F_MEMS_ALLOWED> flag to obtain the "
1251 "set of nodes that are allowed by the calling process's cpuset. Note that "
1252 "this information is subject to change at any time by manual or automatic "
1253 "reconfiguration of the cpuset."
1255 "呼び出し元プロセスの CPU 集合で許可されているノード集合を取得するには、\n"
1256 "B<MPOL_F_MEMS_ALLOWED> フラグを付けて B<get_mempolicy>(2) を使うこと。\n"
1257 "この情報は、手動/自動に限らず CPU 集合の再構成によりいつでも\n"
1258 "変更されることがある点に注意してほしい。"
1261 #: build/C/man2/migrate_pages.2:142
1263 "Use of B<migrate_pages>() may result in pages whose location (node) "
1264 "violates the memory policy established for the specified addresses (see "
1265 "B<mbind>(2)) and/or the specified process (see B<set_mempolicy>(2)). That "
1266 "is, memory policy does not constrain the destination nodes used by "
1267 "B<migrate_pages>()."
1269 "B<migrate_pages> を使用すると、ページが置かれる場所 (ノード) が、指定\n"
1270 "されたアドレスに対して設定されたメモリポリシー (B<mbind>(2) 参照) や\n"
1271 "指定されたプロセスに対して設定されたメモリポリシー\n"
1272 "(B<set_mempolicy>(2) 参照) に違反する状況になる可能性がある。\n"
1273 "すなわち、メモリポリシーによる制約は B<migrate_pages>() による移動先\n"
1274 "ノードの選択には適用されないということである。"
1277 #: build/C/man2/migrate_pages.2:148 build/C/man2/move_pages.2:225
1279 "The I<E<lt>numaif.hE<gt>> header is not included with glibc, but requires "
1280 "installing I<libnuma-devel> or a similar package."
1282 "ヘッダファイル I<E<lt>numaif.hE<gt>> は glibc には含まれておらず、 I<libnuma-"
1283 "devel> か同様のパッケージをインストールする必要がある。"
1286 #: build/C/man2/migrate_pages.2:158 build/C/man2/move_pages.2:235
1288 "B<get_mempolicy>(2), B<mbind>(2), B<set_mempolicy>(2), B<numa>(3), "
1289 "B<numa_maps>(5), B<cpuset>(7), B<numa>(7), B<migratepages>(8), B<numa_stat>"
1292 "B<get_mempolicy>(2), B<mbind>(2), B<set_mempolicy>(2), B<numa>(3), "
1293 "B<numa_maps>(5), B<cpuset>(7), B<numa>(7), B<migratepages>(8), B<numa_stat>"
1297 #: build/C/man2/migrate_pages.2:161
1298 msgid "I<Documentation/vm/page_migration> in the Linux kernel source tree"
1302 #: build/C/man2/move_pages.2:18
1308 #: build/C/man2/move_pages.2:18
1314 #: build/C/man2/move_pages.2:21
1315 msgid "move_pages - move individual pages of a process to another node"
1316 msgstr "move_pages - あるプロセスの個々のページを別のノードに移動する"
1319 #: build/C/man2/move_pages.2:27
1322 "B<long move_pages(int >I<pid>B<, unsigned long count, void **>I<pages>B<,>\n"
1323 "B< const int *>I<nodes>B<, int *>I<status>B<, int >I<flags>B<);>\n"
1325 "B<long move_pages(int >I<pid>B<, unsigned long count, void **>I<pages>B<,>\n"
1326 "B< const int *>I<nodes>B<, int *>I<status>B<, int >I<flags>B<);>\n"
1329 #: build/C/man2/move_pages.2:43
1331 "B<move_pages>() moves the specified I<pages> of the process I<pid> to the "
1332 "memory nodes specified by I<nodes>. The result of the move is reflected in "
1333 "I<status>. The I<flags> indicate constraints on the pages to be moved."
1335 "B<move_pages>() は、プロセス I<pid> の指定されたページ I<pages> を I<nodes> "
1336 "で指定されたメモリノードに移動する。 移動の結果は I<status> に反映される。 "
1337 "I<flags> では移動されるページに関する制約を指定する。"
1340 #: build/C/man2/move_pages.2:56
1342 "I<pid> is the ID of the process in which pages are to be moved. To move "
1343 "pages in another process, the caller must be privileged (B<CAP_SYS_NICE>) "
1344 "or the real or effective user ID of the calling process must match the real "
1345 "or saved-set user ID of the target process. If I<pid> is 0, then "
1346 "B<move_pages>() moves pages of the calling process."
1348 "I<pid> は、移動されるページが属するプロセスの ID である。 別のプロセスのペー"
1349 "ジを移動するためには、呼び出し元が特権 (B<CAP_SYS_NICE>) を持っているか、呼"
1350 "び出したプロセスの実ユーザ ID か実効ユーザ ID が ページ移動対象のプロセスの実"
1351 "ユーザ ID か保存 set-user-ID のどちらかと 一致しなければならない。 I<pid> が "
1352 "0 の場合、 B<move_pages>() は呼び出したプロセスのページを移動する。"
1355 #: build/C/man2/move_pages.2:64
1357 "I<count> is the number of pages to move. It defines the size of the three "
1358 "arrays I<pages>, I<nodes>, and I<status>."
1360 "I<count> は移動するページ数である。 I<count> により I<pages>, I<nodes>, "
1361 "I<status> の 3 つの配列の大きさが定義される。"
1363 #. FIXME what if they are not aligned?
1365 #: build/C/man2/move_pages.2:71
1367 "I<pages> is an array of pointers to the pages that should be moved. These "
1368 "are pointers that should be aligned to page boundaries. Addresses are "
1369 "specified as seen by the process specified by I<pid>."
1371 "I<pages> は、移動すべきページへのポインタの配列であり、 各ポインタはページ境"
1372 "界に揃えた値を指定すべきである。 I<pid> で指定されたプロセスで見えるアドレス"
1376 #: build/C/man2/move_pages.2:84
1378 "I<nodes> is an array of integers that specify the desired location for each "
1379 "page. Each element in the array is a node number. I<nodes> can also be "
1380 "NULL, in which case B<move_pages>() does not move any pages but instead "
1381 "will return the node where each page currently resides, in the I<status> "
1382 "array. Obtaining the status of each page may be necessary to determine "
1383 "pages that need to be moved."
1385 "I<nodes> は、各ページの希望の移動場所を示す整数値の配列であり、 配列の各要素"
1386 "はノード番号である。 I<nodes> には NULL を指定することもでき、この場合には "
1387 "B<move_pages>() はどのページも移動しないが、各ページが現在配置されているノー"
1388 "ドを配列 I<status> に格納して返す。どのページを移動する必要があるかを判断する"
1389 "ために、 各ページの状態の取得が必要な場合もある。"
1392 #: build/C/man2/move_pages.2:90
1394 "I<status> is an array of integers that return the status of each page. The "
1395 "array only contains valid values if B<move_pages>() did not return an error."
1397 "I<status> は、各ページの状態を表す整数値の配列である。 この配列に有効な値が格"
1398 "納されるのは、 B<move_pages>() がエラーを返さなかった場合だけである。"
1401 #: build/C/man2/move_pages.2:102
1403 "I<flags> specify what types of pages to move. B<MPOL_MF_MOVE> means that "
1404 "only pages that are in exclusive use by the process are to be moved. "
1405 "B<MPOL_MF_MOVE_ALL> means that pages shared between multiple processes can "
1406 "also be moved. The process must be privileged (B<CAP_SYS_NICE>) to use "
1407 "B<MPOL_MF_MOVE_ALL>."
1409 "I<flags> には、どの種類のページを移動するかを指定する。 B<MPOL_MF_MOVE> は、"
1410 "そのプロセスが排他的に使用しているページだけを移動することを意味する。 "
1411 "B<MPOL_MF_MOVE_ALL> は、複数のプロセス間で共有されているページも移動できるこ"
1412 "とを意味する。 B<MPOL_MF_MOVE_ALL> を使用するためには、そのプロセスが特権 "
1413 "(B<CAP_SYS_NICE>) を持っていなければならない。"
1416 #: build/C/man2/move_pages.2:102
1418 msgid "Page states in the status array"
1419 msgstr "status 配列に格納されるページ状態"
1422 #: build/C/man2/move_pages.2:106
1424 "The following values can be returned in each element of the I<status> array."
1425 msgstr "I<status> 配列の各要素として、以下の値が返される。"
1428 #: build/C/man2/move_pages.2:106
1430 msgid "B<0..MAX_NUMNODES>"
1431 msgstr "B<0..MAX_NUMNODES>"
1434 #: build/C/man2/move_pages.2:109
1435 msgid "Identifies the node on which the page resides."
1436 msgstr "そのページが配置されているノードを示す。"
1439 #: build/C/man2/move_pages.2:109
1445 #: build/C/man2/move_pages.2:114
1447 "The page is mapped by multiple processes and can only be moved if "
1448 "B<MPOL_MF_MOVE_ALL> is specified."
1450 "そのページは複数のプロセスによりマップされており、 B<MPOL_MF_MOVE_ALL> が指定"
1454 #: build/C/man2/move_pages.2:114
1460 #: build/C/man2/move_pages.2:120
1462 "The page is currently busy and cannot be moved. Try again later. This "
1463 "occurs if a page is undergoing I/O or another kernel subsystem is holding a "
1464 "reference to the page."
1466 "そのページが現在ビジーであり、移動できない。後でもう一度試すこと。 この状況"
1467 "は、ページが I/O の実行中であったり、カーネルの他のサブシステム がそのページ"
1468 "への参照を保持している場合に発生する。"
1471 #: build/C/man2/move_pages.2:120
1477 #: build/C/man2/move_pages.2:123
1478 msgid "This is a zero page or the memory area is not mapped by the process."
1480 "そのページが zero page であるか、そのメモリ領域はそのプロセスにより マップさ"
1484 #: build/C/man2/move_pages.2:123
1490 #: build/C/man2/move_pages.2:130
1492 "Unable to write back a page. The page has to be written back in order to "
1493 "move it since the page is dirty and the file system does not provide a "
1494 "migration function that would allow the move of dirty pages."
1496 "ページを書き戻す (write back) ことができない。 ページが dirty で、ファイルシ"
1497 "ステムが dirty なページを移動できるような 移動機能を提供していないため、その"
1498 "ページを移動するためにはページを 書き戻さなければならない。"
1501 #: build/C/man2/move_pages.2:130
1507 #: build/C/man2/move_pages.2:135
1509 "A dirty page cannot be moved. The file system does not provide a migration "
1510 "function and has no ability to write back pages."
1512 "dirty なページを移動できない。 ファイルシステムが dirty なページを移動するた"
1513 "めの機能を提供しておらず、 ページを書き戻す能力もない。"
1516 #: build/C/man2/move_pages.2:135
1522 #: build/C/man2/move_pages.2:138
1523 msgid "The page is not present."
1527 #: build/C/man2/move_pages.2:138
1533 #: build/C/man2/move_pages.2:141
1534 msgid "Unable to allocate memory on target node."
1535 msgstr "移動先のノードでメモリを確保することができない。"
1537 #. FIXME Is the following quite true: does the wrapper in numactl
1538 #. do the right thing?
1540 #: build/C/man2/move_pages.2:150
1542 "On success B<move_pages>() returns zero. On error, it returns -1, and sets "
1543 "I<errno> to indicate the error."
1545 "成功すると、 B<move_pages>() は 0 を返す。 エラーの場合、-1 を返し、 "
1546 "I<errno> にエラーを示す値を設定する。"
1549 #: build/C/man2/move_pages.2:151
1555 #: build/C/man2/move_pages.2:154
1556 msgid "Too many pages to move."
1557 msgstr "移動すべきページが多過ぎる。"
1560 #: build/C/man2/move_pages.2:154
1565 #. FIXME Clarify "current cpuset". Is that the cpuset of the caller
1568 #: build/C/man2/move_pages.2:159
1569 msgid "One of the target nodes is not allowed by the current cpuset."
1570 msgstr "移動先のノードのいずれかが現在の CPU 集合では許可されていない。"
1573 #: build/C/man2/move_pages.2:162
1574 msgid "Parameter array could not be accessed."
1575 msgstr "パラメータ配列にアクセスできなかった。"
1578 #: build/C/man2/move_pages.2:169
1580 "Flags other than B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> was specified or an "
1581 "attempt was made to migrate pages of a kernel thread."
1583 "I<flags> に B<MPOL_MF_MOVE> でも B<MPOL_MF_MOVE_ALL> でもない値が指定された"
1584 "か、カーネルスレッドのページを移動させようとした。"
1587 #: build/C/man2/move_pages.2:169
1593 #: build/C/man2/move_pages.2:172
1594 msgid "One of the target nodes is not online."
1595 msgstr "移動先のノードのいずれかがオンラインでない。"
1598 #: build/C/man2/move_pages.2:172
1604 #: build/C/man2/move_pages.2:178
1606 "No pages were found that require moving. All pages are either already on "
1607 "the target node, not present, had an invalid address or could not be moved "
1608 "because they were mapped by multiple processes."
1610 "移動が必要なページが全く見つからなかった。 指定された全てのページが、すでに移"
1611 "動先のノードに存在するか、存在しないか、 無効なアドレスであったか、複数のプロ"
1612 "セスによってマップされていて移動でき なかったか、のいずれかであった。"
1615 #: build/C/man2/move_pages.2:187
1617 "The caller specified B<MPOL_MF_MOVE_ALL> without sufficient privileges "
1618 "(B<CAP_SYS_NICE>). Or, the caller attempted to move pages of a process "
1619 "belonging to another user but did not have privilege to do so "
1620 "(B<CAP_SYS_NICE>)."
1622 "呼び出し元は B<MPOL_MF_MOVE_ALL> を指定したが、十分な特権 (B<CAP_SYS_NICE>) "
1623 "を持っていない。 または、呼び出し元が他のユーザに属するプロセスのページを移動"
1624 "しようとしたが、 それを行えるだけの特権 (B<CAP_SYS_NICE>) を持っていなかっ"
1628 #: build/C/man2/move_pages.2:190
1629 msgid "Process does not exist."
1630 msgstr "プロセスが存在しない。"
1633 #: build/C/man2/move_pages.2:193
1634 msgid "B<move_pages>() first appeared on Linux in version 2.6.18."
1635 msgstr "B<move_pages>() は、バージョン 2.6.18 で初めて Linux に登場した。"
1637 #. FIXME Clarify "current cpuset". Is that the cpuset of the caller
1640 #: build/C/man2/move_pages.2:209
1642 "Use B<get_mempolicy>(2) with the B<MPOL_F_MEMS_ALLOWED> flag to obtain the "
1643 "set of nodes that are allowed by the current cpuset. Note that this "
1644 "information is subject to change at any time by manual or automatic "
1645 "reconfiguration of the cpuset."
1647 "現在の CPU 集合で許可されているノードの集合を取得するには、フラグ "
1648 "B<MPOL_F_MEMS_ALLOWED> を指定して B<get_mempolicy>(2) を使用すればよい。 取"
1649 "得した情報は、CPU 集合の手動または自動での再構成により いつ何時変化してしまう"
1653 #: build/C/man2/move_pages.2:219
1655 "Use of this function may result in pages whose location (node) violates the "
1656 "memory policy established for the specified addresses (See B<mbind>(2)) and/"
1657 "or the specified process (See B<set_mempolicy>(2)). That is, memory policy "
1658 "does not constrain the destination nodes used by B<move_pages>()."
1660 "この関数を使用すると、ページの位置 (ノード) が 指定されたアドレスに対して設定"
1661 "されたメモリポリシー (B<mbind>(2) 参照) や指定されたプロセスに対して設定され"
1662 "たメモリポリシー (B<set_mempolicy>(2) 参照) に違反してしまう可能性がある。 "
1663 "つまり、メモリポリシーは B<move_pages>() で使われる移動先ノードを制限しない"
1667 #: build/C/man7/numa.7:29
1673 #: build/C/man7/numa.7:29
1675 #| msgid "2012-05-09"
1680 #: build/C/man7/numa.7:32
1681 msgid "numa - overview of Non-Uniform Memory Architecture"
1682 msgstr "numa - 非対称型メモリアーキテクチャの概要"
1685 #: build/C/man7/numa.7:43
1687 "Non-Uniform Memory Access (NUMA) refers to multiprocessor systems whose "
1688 "memory is divided into multiple memory nodes. The access time of a memory "
1689 "node depends on the relative locations of the accessing CPU and the accessed "
1690 "node. (This contrasts with a symmetric multiprocessor system, where the "
1691 "access time for all of the memory is the same for all CPUs.) Normally, each "
1692 "CPU on a NUMA system has a local memory node whose contents can be accessed "
1693 "faster than the memory in the node local to another CPU or the memory on a "
1694 "bus shared by all CPUs."
1696 "非対称型メモリアクセス (Non-Uniform Memory Access; NUMA) は、\n"
1697 "メモリが複数のメモリノードに分割されているマルチプロセッサシステム\n"
1698 "のことである。メモリノードへのアクセス時間は、アクセス元の CPU と\n"
1699 "アクセス先のノードの相対的な位置関係に依存する\n"
1700 "(これに対し、対称型マルチプロセッサシステムでは、どの CPU から\n"
1701 "どのメモリへのアクセス時間も同じである)。\n"
1702 "通常は、 NUMA システムの各 CPU にはローカルのメモリノードがあり、\n"
1703 "そのメモリノードには、他の CPU のローカルノードや全ての CPU で\n"
1704 "共有されるバス上のメモリよりも早くアクセスすることができる。"
1707 #: build/C/man7/numa.7:43
1709 msgid "NUMA system calls"
1710 msgstr "NUMA システムコール"
1713 #: build/C/man7/numa.7:54
1715 "The Linux kernel implements the following NUMA-related system calls: "
1716 "B<get_mempolicy>(2), B<mbind>(2), B<migrate_pages>(2), B<move_pages>(2), and "
1717 "B<set_mempolicy>(2). However, applications should normally use the "
1718 "interface provided by I<libnuma>; see \"Library Support\" below."
1720 "Linux カーネルには、次に示す NUMA 関連のシステムコールが実装されている:\n"
1721 "B<get_mempolicy>(2), B<mbind>(2), B<migrate_pages>(2),\n"
1722 "B<move_pages>(2), B<set_mempolicy>(2).\n"
1723 "ただし、アプリケーションは通常は I<libnuma> が提供するインターフェース\n"
1724 "を使用すべきである。下記の「ライブラリによるサポート」を参照。"
1727 #: build/C/man7/numa.7:54
1729 #| msgid "/proc/[number]/numa_maps (since Linux 2.6.14)"
1730 msgid "/proc/[number]/numa_maps (since Linux 2.6.14)"
1731 msgstr "/proc/[number]/numa_maps (Linux 2.6.14 以降)"
1733 #. See also Changelog-2.6.14
1735 #: build/C/man7/numa.7:58
1737 "This file displays information about a process's NUMA memory policy and "
1740 "このファイルは、プロセスの NUMA メモリポリシーと割り当てに関する\n"
1744 #: build/C/man7/numa.7:62
1746 "Each line contains information about a memory range used by the process, "
1747 "displaying\\(emamong other information\\(emthe effective memory policy for "
1748 "that memory range and on which nodes the pages have been allocated."
1752 #: build/C/man7/numa.7:70
1754 "I<numa_maps> is a read-only file. When I</proc/E<lt>pidE<gt>/numa_maps> is "
1755 "read, the kernel will scan the virtual address space of the process and "
1756 "report how memory is used. One line is displayed for each unique memory "
1757 "range of the process."
1761 #: build/C/man7/numa.7:77
1763 "The first field of each line shows the starting address of the memory "
1764 "range. This field allows a correlation with the contents of the I</proc/"
1765 "E<lt>pidE<gt>/maps> file, which contains the end address of the range and "
1766 "other information, such as the access permissions and sharing."
1770 #: build/C/man7/numa.7:85
1772 "The second field shows the memory policy currently in effect for the memory "
1773 "range. Note that the effective policy is not necessarily the policy "
1774 "installed by the process for that memory range. Specifically, if the "
1775 "process installed a \"default\" policy for that range, the effective policy "
1776 "for that range will be the process policy, which may or may not be \"default"
1781 #: build/C/man7/numa.7:88
1783 "The rest of the line contains information about the pages allocated in the "
1784 "memory range, as follows:"
1788 #: build/C/man7/numa.7:88
1790 msgid "I<NE<lt>nodeE<gt>=E<lt>nr_pagesE<gt>>"
1791 msgstr "I<NE<lt>nodeE<gt>=E<lt>nr_pagesE<gt>>"
1794 #: build/C/man7/numa.7:101
1796 "The number of pages allocated on I<E<lt>nodeE<gt>>. I<E<lt>nr_pagesE<gt>> "
1797 "includes only pages currently mapped by the process. Page migration and "
1798 "memory reclaim may have temporarily unmapped pages associated with this "
1799 "memory range. These pages may only show up again after the process has "
1800 "attempted to reference them. If the memory range represents a shared memory "
1801 "area or file mapping, other processes may currently have additional pages "
1802 "mapped in a corresponding memory range."
1806 #: build/C/man7/numa.7:101
1808 msgid "I<file=E<lt>filenameE<gt>>"
1809 msgstr "I<file=E<lt>filenameE<gt>>"
1812 #: build/C/man7/numa.7:107
1814 "The file backing the memory range. If the file is mapped as private, write "
1815 "accesses may have generated COW (Copy-On-Write) pages in this memory range. "
1816 "These pages are displayed as anonymous pages."
1820 #: build/C/man7/numa.7:107
1826 #: build/C/man7/numa.7:110
1827 msgid "Memory range is used for the heap."
1828 msgstr "ヒープに使用されているメモリ範囲。"
1831 #: build/C/man7/numa.7:110
1837 #: build/C/man7/numa.7:113
1838 msgid "Memory range is used for the stack."
1839 msgstr "スタックに使用されているメモリ範囲。"
1842 #: build/C/man7/numa.7:113
1848 #: build/C/man7/numa.7:117
1850 "Huge memory range. The page counts shown are huge pages and not regular "
1853 "ヒュージメモリの範囲。表示されるページ数は、\n"
1854 "通常の大きさのページではなく、ヒュージページの数である。"
1857 #: build/C/man7/numa.7:117
1859 msgid "I<anon=E<lt>pagesE<gt>>"
1860 msgstr "I<anon=E<lt>pagesE<gt>>"
1863 #: build/C/man7/numa.7:120
1864 msgid "The number of anonymous page in the range."
1865 msgstr "メモリ範囲内の無名ページ (anonymous page) の数。"
1868 #: build/C/man7/numa.7:120
1870 msgid "I<dirty=E<lt>pagesE<gt>>"
1871 msgstr "I<dirty=E<lt>pagesE<gt>>"
1874 #: build/C/man7/numa.7:123
1875 msgid "Number of dirty pages."
1876 msgstr "dirty (変更された) ページの数。"
1879 #: build/C/man7/numa.7:123
1881 msgid "I<mapped=E<lt>pagesE<gt>>"
1882 msgstr "I<mapped=E<lt>pagesE<gt>>"
1885 #: build/C/man7/numa.7:130
1887 "Total number of mapped pages, if different from I<dirty> and I<anon> pages."
1891 #: build/C/man7/numa.7:130
1893 msgid "I<mapmax=E<lt>countE<gt>>"
1894 msgstr "I<mapmax=E<lt>countE<gt>>"
1897 #: build/C/man7/numa.7:136
1899 "Maximum mapcount (number of processes mapping a single page) encountered "
1900 "during the scan. This may be used as an indicator of the degree of sharing "
1901 "occurring in a given memory range."
1905 #: build/C/man7/numa.7:136
1907 msgid "I<swapcache=E<lt>countE<gt>>"
1908 msgstr "I<swapcache=E<lt>countE<gt>>"
1911 #: build/C/man7/numa.7:139
1912 msgid "Number of pages that have an associated entry on a swap device."
1916 #: build/C/man7/numa.7:139
1918 msgid "I<active=E<lt>pagesE<gt>>"
1919 msgstr "I<active=E<lt>pagesE<gt>>"
1922 #: build/C/man7/numa.7:145
1924 "The number of pages on the active list. This field is only shown if "
1925 "different from the number of pages in this range. This means that some "
1926 "inactive pages exist in the memory range that may be removed from memory by "
1931 #: build/C/man7/numa.7:145
1933 msgid "I<writeback=E<lt>pagesE<gt>>"
1934 msgstr "I<writeback=E<lt>pagesE<gt>>"
1937 #: build/C/man7/numa.7:148
1938 msgid "Number of pages that are currently being written out to disk."
1942 #: build/C/man7/numa.7:150
1943 msgid "No standards govern NUMA interfaces."
1944 msgstr "NUMA インターフェースについて規定している標準はない。"
1947 #: build/C/man7/numa.7:157
1949 "The Linux NUMA system calls and I</proc> interface are only available if the "
1950 "kernel was configured and built with the B<CONFIG_NUMA> option."
1952 "Linux の NUMA システムコールと I</proc> インターフェースは、カーネルが\n"
1953 "設定オプション B<CONFIG_NUMA> を有効にして作成されている場合のみ、利用\n"
1957 #: build/C/man7/numa.7:157
1959 #| msgid "Library Support"
1960 msgid "Library support"
1961 msgstr "ライブラリによるサポート"
1964 #: build/C/man7/numa.7:166
1966 "Link with I<-lnuma> to get the system call definitions. I<libnuma> and the "
1967 "required I<E<lt>numaif.hE<gt>> header are available in the I<numactl> "
1970 "システムコールの定義を得るには I<-lnuma> でリンクすること。\n"
1971 "I<libnuma> と必要なヘッダファイル I<E<lt>numaif.hE<gt>> は\n"
1972 "I<numactl> パッケージで提供されている。"
1975 #: build/C/man7/numa.7:183
1978 #| "However, applications should not use these system calls directly. "
1979 #| "Instead, the higher level interface provided by the B<numa>(3) functions "
1980 #| "in the I<numactl> package is recommended. The I<numactl> package is "
1981 #| "available at I<ftp://oss.sgi.com/www/projects/libnuma/download/>. The "
1982 #| "package is also included in some Linux distributions. Some distributions "
1983 #| "include the development library and header in the separate I<numactl-"
1984 #| "devel> package."
1986 "However, applications should not use these system calls directly. Instead, "
1987 "the higher level interface provided by the B<numa>(3) functions in the "
1988 "I<numactl> package is recommended. The I<numactl> package is available at "
1989 "E<.UR ftp://oss.sgi.com\\:/www\\:/projects\\:/libnuma\\:/download/> E<.UE .> "
1990 "The package is also included in some Linux distributions. Some "
1991 "distributions include the development library and header in the separate "
1992 "I<numactl-devel> package."
1994 "ただし、アプリケーションはこれらのシステムコールを直接利用すべきでない。\n"
1995 "推奨される方法は、I<numactl> パッケージの B<numa>(3) の関数群が提供する\n"
1996 "高レベルインターフェースの利用である。 I<numactl> パッケージは\n"
1997 "I<ftp://oss.sgi.com/www/projects/libnuma/download/> で入手できる。\n"
1998 "このパッケージが収録されている Linux ディストリビューションもある。\n"
1999 "ディストリビューションによっては、開発用のライブラリとヘッダファイルは\n"
2000 "別パッケージ I<numactl-devel> で提供されている。"
2003 #: build/C/man7/numa.7:191
2005 "B<get_mempolicy>(2), B<mbind>(2), B<move_pages>(2), B<set_mempolicy>(2), "
2006 "B<numa>(3), B<cpuset>(7), B<numactl>(8)"
2008 "B<get_mempolicy>(2), B<mbind>(2), B<move_pages>(2), B<set_mempolicy>(2), "
2009 "B<numa>(3), B<cpuset>(7), B<numactl>(8)"
2012 #: build/C/man2/set_mempolicy.2:27
2014 msgid "SET_MEMPOLICY"
2015 msgstr "SET_MEMPOLICY"
2018 #: build/C/man2/set_mempolicy.2:30
2020 "set_mempolicy - set default NUMA memory policy for a process and its children"
2022 "set_mempolicy - プロセスとその子プロセスの NUMA メモリの デフォルトポリシーを"
2026 #: build/C/man2/set_mempolicy.2:36
2029 "B<int set_mempolicy(int >I<mode>B<, unsigned long *>I<nodemask>B<,>\n"
2030 "B< unsigned long >I<maxnode>B<);>\n"
2032 "B<int set_mempolicy(int >I<mode>B<, unsigned long *>I<nodemask>B<,>\n"
2033 "B< unsigned long >I<maxnode>B<);>\n"
2036 #: build/C/man2/set_mempolicy.2:49
2038 "B<set_mempolicy>() sets the NUMA memory policy of the calling process, "
2039 "which consists of a policy mode and zero or more nodes, to the values "
2040 "specified by the I<mode>, I<nodemask> and I<maxnode> arguments."
2042 "B<set_mempolicy>() は、呼び出し元プロセスの NUMA ポリシーを I<policy> に設定"
2043 "する。 NUMA ポリシーはポリシーモードと 0 個以上のノードから構成され、 設定内"
2044 "容は引き数 I<mode>, I<nodemask>, I<maxnode> により指定される。"
2047 #: build/C/man2/set_mempolicy.2:75
2049 "This system call defines the default policy for the process. The process "
2050 "policy governs allocation of pages in the process's address space outside of "
2051 "memory ranges controlled by a more specific policy set by B<mbind>(2). The "
2052 "process default policy also controls allocation of any pages for memory "
2053 "mapped files mapped using the B<mmap>(2) call with the B<MAP_PRIVATE> flag "
2054 "and that are only read [loaded] from by the process and of memory mapped "
2055 "files mapped using the B<mmap>(2) call with the B<MAP_SHARED> flag, "
2056 "regardless of the access type. The policy is only applied when a new page "
2057 "is allocated for the process. For anonymous memory this is when the page is "
2058 "first touched by the application."
2060 "B<set_mempolicy>() は、プロセスのデフォルトポリシーを定める。 プロセスのポリ"
2061 "シーは、 B<mbind>(2) で設定される特定のポリシーにより制御されるメモリ領域以"
2062 "外の プロセスのアドレス空間におけるページの割り当てに適用される。 プロセスの"
2063 "デフォルトポリシーは、 B<MAP_PRIVATE> フラグを指定した B<mmap>(2) を使って"
2064 "マップされたメモリマップ・ファイルに対する読み出し専用 (ロードされるだけ) の"
2065 "ページの割り当てにも適用される。 また、 B<MAP_SHARED> フラグを指定した "
2066 "B<mmap>(2) を使ってマップされたメモリマップ・ファイルに対するページの割り当"
2067 "てにも 適用される (この場合はページのアクセス種別に関わらず適用される) 。 設"
2068 "定したポリシーは、プロセスに新規のページが割り当てられるときにのみ 適用され"
2069 "る。無名メモリ (anonymous memory) の場合、新規ページの割り当ては アプリケー"
2070 "ションが初めてページにアクセスした際に行われる。"
2073 #: build/C/man2/set_mempolicy.2:89
2075 "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
2076 "B<MPOL_INTERLEAVE> or B<MPOL_PREFERRED>. All modes except B<MPOL_DEFAULT> "
2077 "require the caller to specify via the I<nodemask> argument one or more nodes."
2079 "I<mode> 引き数には B<MPOL_DEFAULT>, B<MPOL_BIND>, B<MPOL_INTERLEAVE>, "
2080 "B<MPOL_PREFERRED> のいずれか一つを指定してしなければならない。 "
2081 "B<MPOL_DEFAULT> 以外のポリシーの場合、呼び出し元は I<nodemask> 引き数で一つ以"
2085 #: build/C/man2/set_mempolicy.2:97
2087 "The I<mode> argument may also include an optional I<mode flag>. The "
2088 "supported I<mode flags> are:"
2090 "I<mode> 引き数には、追加で I<モードフラグ> を含めることもできる。 サポートさ"
2091 "れている I<モードフラグ> は以下の通りである。"
2094 #: build/C/man2/set_mempolicy.2:97
2096 msgid "B<MPOL_F_STATIC_NODES> (since Linux 2.6.26)"
2097 msgstr "B<MPOL_F_STATIC_NODES> (Linux 2.6.26 以降)"
2100 #: build/C/man2/set_mempolicy.2:107
2102 "A nonempty I<nodemask> specifies physical node ids. Linux does will not "
2103 "remap the I<nodemask> when the process moves to a different cpuset context, "
2104 "nor when the set of nodes allowed by the process's current cpuset context "
2107 "空でない I<nodemask> は、物理ノード ID である。 Linux では、そのプロセスが異"
2108 "なる CPU 集合コンテキスト (cpuset context) に移動した場合でも、そのプロセス"
2109 "の現在の CPU 集合コンテキストで 許可されているノード集合が変化した場合でも、 "
2110 "I<nodemask> をマッピングし直すことはない。"
2113 #: build/C/man2/set_mempolicy.2:107
2115 msgid "B<MPOL_F_RELATIVE_NODES> (since Linux 2.6.26)"
2116 msgstr "B<MPOL_F_RELATIVE_NODES> (Linux 2.6.26 以降)"
2119 #: build/C/man2/set_mempolicy.2:133
2121 "I<nodemask> points to a bit mask of node IDs that contains up to I<maxnode> "
2122 "bits. The bit mask size is rounded to the next multiple of I<sizeof"
2123 "(unsigned long)>, but the kernel will only use bits up to I<maxnode>. A "
2124 "NULL value of I<nodemask> or a I<maxnode> value of zero specifies the empty "
2125 "set of nodes. If the value of I<maxnode> is zero, the I<nodemask> argument "
2128 "I<nodemask> は、最大で I<maxnode> ビットから構成されるノード ID のビットマス"
2129 "クを指す。 ビットマスクの大きさは、直近の I<sizeof(unsigned long)> の倍数に切"
2130 "り上げられるが、カーネルが使用するのは I<maxnode> 個までのビットだけである。 "
2131 "NULL 値の I<nodemask> もしくは値が 0 の I<maxnode> はノードの空集合を表す。 "
2132 "I<maxnode> の値が 0 の場合、 I<nodemask> 引き数は無視される。"
2135 #: build/C/man2/set_mempolicy.2:154
2137 "Where a I<nodemask> is required, it must contain at least one node that is "
2138 "on-line, allowed by the process's current cpuset context, [unless the "
2139 "B<MPOL_F_STATIC_NODES> mode flag is specified], and contains memory. If the "
2140 "B<MPOL_F_STATIC_NODES> is set in I<mode> and a required I<nodemask> contains "
2141 "no nodes that are allowed by the process's current cpuset context, the "
2142 "memory policy reverts to I<local allocation>. This effectively overrides "
2143 "the specified policy until the process's cpuset context includes one or more "
2144 "of the nodes specified by I<nodemask>."
2146 "I<nodemask> が必須の場面では、 I<nodemask> に、オンラインで、そのプロセスの現"
2147 "在の CPU 集合コンテキストで 許可されており (B<MPOL_F_STATIC_NODES> モードフラ"
2148 "グが指定されていない場合)、メモリがあるノードが 少なくとも一つ入っていなけれ"
2149 "ばならない。 I<mode> に B<MPOL_F_STATIC_NODES> がセットされ、 I<nodemask> が"
2150 "必須の場面で、 I<nodemask> に、そのプロセスの現在の CPU 集合コンテキストで許"
2151 "可されたノードが 一つも含まれていない場合には、メモリのポリシーとしてデフォル"
2152 "トの 「ローカルから割り当て (local allocation)」が適用される。 そのプロセス"
2153 "の CPU 集合コンテキストが I<nodemask> で指定されたノードを少なくとも一つ含む"
2154 "ようになるまでは、 結果的に指定された動作が上書きされることになる。"
2157 #: build/C/man2/set_mempolicy.2:165
2159 "The B<MPOL_DEFAULT> mode specifies that any nondefault process memory policy "
2160 "be removed, so that the memory policy \"falls back\" to the system default "
2161 "policy. The system default policy is \"local allocation\"-- i.e., allocate "
2162 "memory on the node of the CPU that triggered the allocation. I<nodemask> "
2163 "must be specified as NULL. If the \"local node\" contains no free memory, "
2164 "the system will attempt to allocate memory from a \"near by\" node."
2166 "B<MPOL_DEFAULT> モードは、デフォルトではないプロセスのメモリポリシーを削除す"
2167 "ることを 指定するものである。これにより、メモリポリシーはシステムの デフォル"
2168 "トポリシーに「戻る」ことになる。 システムのデフォルトポリシーは「ローカルから"
2169 "の割り当て (local allocation)」、 つまりメモリ割り当てのきっかけとなった CPU "
2170 "のノードのメモリが割り当てられる。 I<nodemask> には NULL を指定しなければなら"
2171 "ない。 「自ノード (local node)」に空きメモリが全くない場合、システムは 「近く"
2172 "の (near by) ノード」からメモリを割り当てようと試みる。"
2175 #: build/C/man2/set_mempolicy.2:182
2177 "The B<MPOL_BIND> mode defines a strict policy that restricts memory "
2178 "allocation to the nodes specified in I<nodemask>. If I<nodemask> specifies "
2179 "more than one node, page allocations will come from the node with the lowest "
2180 "numeric node ID first, until that node contains no free memory. Allocations "
2181 "will then come from the node with the next highest node ID specified in "
2182 "I<nodemask> and so forth, until none of the specified nodes contain free "
2183 "memory. Pages will not be allocated from any node not specified in the "
2186 "B<MPOL_BIND> モードは厳密なポリシーで、メモリ割り当ては I<nodemask> に指定さ"
2187 "れたノードに限定される。 I<nodemask> に 2 個以上のノードが指定された場合、"
2188 "ページの割り当ては ノード ID が数字として最小のノードから開始され、 そのノー"
2189 "ドに空きメモリがなくなるまでそのノードから ページ割り当てが行われる。そのノー"
2190 "ドに空きメモリがなくなったら、 次に小さなノード ID を持つノードからページ割り"
2191 "当てが行われる。 これを、 I<nodemask> で指定された全てのノードで空きメモリが"
2192 "なくなるまで繰り返す。 I<nodemask> で指定された以外のノードからはページの割り"
2195 #. NOTE: the following sentence doesn't make sense in the context
2196 #. of set_mempolicy() -- no memory area specified.
2197 #. To be effective the memory area should be fairly large,
2198 #. at least 1MB or bigger.
2200 #: build/C/man2/set_mempolicy.2:196
2202 "B<MPOL_INTERLEAVE> interleaves page allocations across the nodes specified "
2203 "in I<nodemask> in numeric node ID order. This optimizes for bandwidth "
2204 "instead of latency by spreading out pages and memory accesses to those pages "
2205 "across multiple nodes. However, accesses to a single page will still be "
2206 "limited to the memory bandwidth of a single node."
2208 "B<MPOL_INTERLEAVE> では、ページ割り当てを I<nodemask> に指定されたノードの間"
2209 "でノード ID の数字順で交互に行う。 このポリシーでは、複数のノードにページを広"
2210 "げて配置し、これらのページへのメモリ アクセスを分散することで、遅延ではなく、"
2211 "帯域を最適化する。 ただし、一つのページへのアクセスに関しては依然として一つの"
2215 #: build/C/man2/set_mempolicy.2:213
2217 "B<MPOL_PREFERRED> sets the preferred node for allocation. The kernel will "
2218 "try to allocate pages from this node first and fall back to \"near by\" "
2219 "nodes if the preferred node is low on free memory. If I<nodemask> specifies "
2220 "more than one node ID, the first node in the mask will be selected as the "
2221 "preferred node. If the I<nodemask> and I<maxnode> arguments specify the "
2222 "empty set, then the policy specifies \"local allocation\" (like the system "
2223 "default policy discussed above)."
2225 "B<MPOL_PREFERRED> は、割り当て時に優先されるノード (preferred node) を設定す"
2226 "る。 カーネルはまず優先ノードからページ割り当てを行おうとし、 優先ノードに空"
2227 "きメモリが少ない場合に「近くの (near by)」ノードから 割り当てを行う。 "
2228 "I<nodemask> に複数のノード ID が指定された場合は、 I<nodemask> 内の最初のノー"
2229 "ドが優先ノードとして選択される。 引き数 I<nodemask>, I<maxnode> で空集合が指"
2230 "定された場合は、ポリシーは (上述のシステムの デフォルトポリシーと同様に) "
2234 #: build/C/man2/set_mempolicy.2:220
2236 "The process memory policy is preserved across an B<execve>(2), and is "
2237 "inherited by child processes created using B<fork>(2) or B<clone>(2)."
2239 "プロセスのメモリポリシーは B<execve>(2) の前後で保持され、 B<fork>(2) や "
2240 "B<clone>(2) を使って作成された子プロセスに継承される。"
2243 #: build/C/man2/set_mempolicy.2:227
2245 "On success, B<set_mempolicy>() returns 0; on error, -1 is returned and "
2246 "I<errno> is set to indicate the error."
2248 "成功すると、 B<set_mempolicy>() は 0 を返す。エラーの場合、-1 を返し、 "
2249 "I<errno> にエラーを示す値を設定する。"
2252 #: build/C/man2/set_mempolicy.2:272
2254 "I<mode> is invalid. Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> is "
2255 "nonempty, or I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and I<nodemask> "
2256 "is empty. Or, I<maxnode> specifies more than a page worth of bits. Or, "
2257 "I<nodemask> specifies one or more node IDs that are greater than the maximum "
2258 "supported node ID. Or, none of the node IDs specified by I<nodemask> are on-"
2259 "line and allowed by the process's current cpuset context, or none of the "
2260 "specified nodes contain memory. Or, the I<mode> argument specified both "
2261 "B<MPOL_F_STATIC_NODES> and B<MPOL_F_RELATIVE_NODES>."
2263 "I<mode> が不正である。 I<mode> が B<MPOL_DEFAULT> で、 I<nodemask> が空ではな"
2264 "い。 I<mode> が B<MPOL_BIND> か B<MPOL_INTERLEAVE> で、 I<nodemask> が空であ"
2265 "る。 I<maxnode> で実際に意味があるビット数より多くのビット数が指定された。 "
2266 "I<nodemask> に、サポートされている最大ノード ID より大きいノードが指定され"
2267 "た。 I<nodemask> に、オンラインで、かつそのプロセスの現在の CPU 集合コンテキ"
2268 "ストで 許可されているノードが一つも含まれていないか、 メモリを含むノードが一"
2269 "つも指定されていない。 I<mode> 引き数に B<MPOL_F_STATIC_NODES> と "
2270 "B<MPOL_F_RELATIVE_NODES> の両方が指定された。"
2273 #: build/C/man2/set_mempolicy.2:279
2275 "The B<set_mempolicy>(), system call was added to the Linux kernel in version "
2278 "B<set_mempolicy>() システムコールはバージョン 2.6.7 で Linux カーネルに追加"
2282 #: build/C/man2/set_mempolicy.2:286
2284 "Process policy is not remembered if the page is swapped out. When such a "
2285 "page is paged back in, it will use the policy of the process or memory range "
2286 "that is in effect at the time the page is allocated."
2288 "ページがスワップ・アウトされる場合には、 プロセスポリシーの設定は推奨されな"
2289 "い。 スワップ・アウトされたページがページ・インする際にも、 ページ割り当て時"
2290 "に適用されるプロセスポリシーやメモリ領域ポリシーが 使用される。"
2293 #: build/C/man2/set_mempolicy.2:298
2295 "B<get_mempolicy>(2), B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<numa>(3), "
2296 "B<cpuset>(7), B<numa>(7), B<numactl>(8)"
2298 "B<get_mempolicy>(2), B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<numa>(3), "
2299 "B<cpuset>(7), B<numa>(7), B<numactl>(8)"
2301 #~ msgid "2010-11-01"
2302 #~ msgstr "2010-11-01"
2305 #~ "B<get_mempolicy>(2), B<mbind>(2), B<set_mempolicy>(2), B<numa>(3), "
2306 #~ "B<numa_maps>(5), B<cpuset>(7), B<numa>(7), B<migratepages>(8), "
2307 #~ "B<numa_stat>(8);"
2309 #~ "B<get_mempolicy>(2), B<mbind>(2), B<set_mempolicy>(2), B<numa>(3), "
2310 #~ "B<numa_maps>(5), B<cpuset>(7), B<numa>(7), B<migratepages>(8), "
2311 #~ "B<numa_stat>(8);"
2313 #~ msgid "the kernel source file I<Documentation/vm/page_migration>."
2314 #~ msgstr "カーネルのソースファイル I<Documentation/vm/page_migration>。"
2316 #~ msgid "2008-06-03"
2317 #~ msgstr "2008-06-03"