OSDN Git Service

LDP: Update POT and ja.po to LDP v3.75
[linuxjm/LDP_man-pages.git] / po4a / numa / po / ja.po
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.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2015-01-01 22:50+0900\n"
10 "PO-Revision-Date: 2014-06-08 02:31+0900\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: build/C/man2/get_mempolicy.2:27
20 #, no-wrap
21 msgid "GET_MEMPOLICY"
22 msgstr "GET_MEMPOLICY"
23
24 #. type: TH
25 #: build/C/man2/get_mempolicy.2:27
26 #, no-wrap
27 msgid "2008-08-15"
28 msgstr "2008-08-15"
29
30 #. type: TH
31 #: build/C/man2/get_mempolicy.2:27 build/C/man2/getcpu.2:12
32 #: build/C/man2/mbind.2:45 build/C/man2/migrate_pages.2:18
33 #: build/C/man2/move_pages.2:19 build/C/man7/numa.7:29
34 #: build/C/man2/set_mempolicy.2:27
35 #, no-wrap
36 msgid "Linux"
37 msgstr "Linux"
38
39 #. type: TH
40 #: build/C/man2/get_mempolicy.2:27 build/C/man2/getcpu.2:12
41 #: build/C/man2/mbind.2:45 build/C/man2/migrate_pages.2:18
42 #: build/C/man2/move_pages.2:19 build/C/man7/numa.7:29
43 #: build/C/man2/set_mempolicy.2:27
44 #, no-wrap
45 msgid "Linux Programmer's Manual"
46 msgstr "Linux Programmer's Manual"
47
48 #. type: SH
49 #: build/C/man2/get_mempolicy.2:28 build/C/man2/getcpu.2:13
50 #: build/C/man2/mbind.2:46 build/C/man2/migrate_pages.2:19
51 #: build/C/man2/move_pages.2:20 build/C/man7/numa.7:30
52 #: build/C/man2/set_mempolicy.2:28
53 #, no-wrap
54 msgid "NAME"
55 msgstr "名前"
56
57 #. type: Plain text
58 #: build/C/man2/get_mempolicy.2:30
59 msgid "get_mempolicy - retrieve NUMA memory policy for a process"
60 msgstr "get_mempolicy - プロセスの NUMA メモリのポリシーを取得する"
61
62 #. type: SH
63 #: build/C/man2/get_mempolicy.2:30 build/C/man2/getcpu.2:15
64 #: build/C/man2/mbind.2:48 build/C/man2/migrate_pages.2:21
65 #: build/C/man2/move_pages.2:22 build/C/man2/set_mempolicy.2:30
66 #, no-wrap
67 msgid "SYNOPSIS"
68 msgstr "書式"
69
70 #. type: Plain text
71 #: build/C/man2/get_mempolicy.2:32
72 msgid "B<#include E<lt>numaif.hE<gt>>"
73 msgstr "B<#include E<lt>numaif.hE<gt>>"
74
75 #. type: Plain text
76 #: build/C/man2/get_mempolicy.2:37
77 #, no-wrap
78 msgid ""
79 "B<int get_mempolicy(int *>I<mode>B<, unsigned long *>I<nodemask>B<,>\n"
80 "B<                  unsigned long >I<maxnode>B<, unsigned long >I<addr>B<,>\n"
81 "B<                  unsigned long >I<flags>B<);>\n"
82 msgstr ""
83 "B<int get_mempolicy(int *>I<mode>B<, unsigned long *>I<nodemask>B<,>\n"
84 "B<                  unsigned long >I<maxnode>B<, unsigned long >I<addr>B<,>\n"
85 "B<                  unsigned long >I<flags>B<);>\n"
86
87 #. type: Plain text
88 #: build/C/man2/get_mempolicy.2:39 build/C/man2/mbind.2:57
89 #: build/C/man2/set_mempolicy.2:38
90 #, no-wrap
91 msgid "Link with I<-lnuma>.\n"
92 msgstr "I<-lnuma> でリンクする。\n"
93
94 #. type: SH
95 #: build/C/man2/get_mempolicy.2:40 build/C/man2/getcpu.2:25
96 #: build/C/man2/mbind.2:58 build/C/man2/migrate_pages.2:31
97 #: build/C/man2/move_pages.2:31 build/C/man7/numa.7:32
98 #: build/C/man2/set_mempolicy.2:39
99 #, no-wrap
100 msgid "DESCRIPTION"
101 msgstr "説明"
102
103 #. type: Plain text
104 #: build/C/man2/get_mempolicy.2:45
105 msgid ""
106 "B<get_mempolicy>()  retrieves the NUMA policy of the calling process or of a "
107 "memory address, depending on the setting of I<flags>."
108 msgstr ""
109 "B<get_mempolicy>()  は、呼び出し元プロセスもしくは指定されたメモリアドレスの "
110 "NUMA ポリシーを I<flags> の設定に従って取得する。"
111
112 #. type: Plain text
113 #: build/C/man2/get_mempolicy.2:50 build/C/man2/set_mempolicy.2:54
114 msgid ""
115 "A NUMA machine has different memory controllers with different distances to "
116 "specific CPUs.  The memory policy defines from which node memory is "
117 "allocated for the process."
118 msgstr ""
119 "NUMA (非対称メモリアクセス) マシンでは、CPU により メモリコントローラが異な"
120 "り、距離も異なっている。 メモリポリシーは、どのノードからメモリをそのプロセス"
121 "に 割り当てるかを定めるものである。"
122
123 #. type: Plain text
124 #: build/C/man2/get_mempolicy.2:67
125 msgid ""
126 "If I<flags> is specified as 0, then information about the calling process's "
127 "default policy (as set by B<set_mempolicy>(2))  is returned.  The policy "
128 "returned [I<mode> and I<nodemask>] may be used to restore the process's "
129 "policy to its state at the time of the call to B<get_mempolicy>()  using "
130 "B<set_mempolicy>(2)."
131 msgstr ""
132 "I<flags> に 0 が指定された場合、 (B<set_mempolicy>(2)  で設定された)  呼び出"
133 "し元プロセスのデフォルトポリシーに関する情報を返す。 返されたポリシー "
134 "[I<mode> と I<nodemask>] を B<set_mempolicy>(2)  に渡すことで、そのプロセスの"
135 "ポリシーを B<get_mempolicy>()  を呼び出した時点の状態に戻すことができる。"
136
137 #. type: Plain text
138 #: build/C/man2/get_mempolicy.2:89
139 msgid ""
140 "If I<flags> specifies B<MPOL_F_MEMS_ALLOWED> (available since Linux 2.6.24), "
141 "the I<mode> argument is ignored and the set of nodes [memories] that the "
142 "process is allowed to specify in subsequent calls to B<mbind>(2)  or "
143 "B<set_mempolicy>(2)  [in the absence of any I<mode flags>] is returned in "
144 "I<nodemask>.  It is not permitted to combine B<MPOL_F_MEMS_ALLOWED> with "
145 "either B<MPOL_F_ADDR> or B<MPOL_F_NODE>."
146 msgstr ""
147 "I<flags> に B<MPOL_F_MEMS_ALLOWED> (Linux 2.6.24 以降で利用可能) を指定する"
148 "と、 I<mode> 引き数は無視され、 そのプロセスがその後の B<mbind>(2)  や "
149 "B<set_mempolicy>(2)  で [I<モードフラグ> が指定されていない場合に ] 指定でき"
150 "るノード (メモリ) の集合が I<nodemask> に返される。 B<MPOL_F_MEMS_ALLOWED> "
151 "を、 B<MPOL_F_ADDR> や B<MPOL_F_NODE> と同時に指定することはできない。"
152
153 #. type: Plain text
154 #: build/C/man2/get_mempolicy.2:103
155 msgid ""
156 "If I<flags> specifies B<MPOL_F_ADDR>, then information is returned about the "
157 "policy governing the memory address given in I<addr>.  This policy may be "
158 "different from the process's default policy if B<mbind>(2)  or one of the "
159 "helper functions described in B<numa>(3)  has been used to establish a "
160 "policy for the memory range containing I<addr>."
161 msgstr ""
162 "I<flags> に B<MPOL_F_ADDR> が指定された場合、 I<addr> で指定されたメモリアド"
163 "レスに適用されているポリシーに関する情報を返す。 B<mbind>(2)  や B<numa>(3)  "
164 "で説明されているヘルパー関数を使って、 I<addr> を含むメモリ領域に対するポリ"
165 "シーが設定されていた場合には、 返されるポリシーはプロセスのデフォルトポリシー"
166 "と違うことがある。"
167
168 #. type: Plain text
169 #: build/C/man2/get_mempolicy.2:124
170 msgid ""
171 "If the I<mode> argument is not NULL, then B<get_mempolicy>()  will store the "
172 "policy mode and any optional I<mode flags> of the requested NUMA policy in "
173 "the location pointed to by this argument.  If I<nodemask> is not NULL, then "
174 "the nodemask associated with the policy will be stored in the location "
175 "pointed to by this argument.  I<maxnode> specifies the number of node IDs "
176 "that can be stored into I<nodemask>\\(emthat is, the maximum node ID plus "
177 "one.  The value specified by I<maxnode> is always rounded to a multiple of "
178 "I<sizeof(unsigned long)>."
179 msgstr ""
180 "I<mode> 引き数が NULL でない場合、 B<get_mempolicy>()  は要求された NUMA ポリ"
181 "シーのモードと追加の I<モードフラグ> を I<mode> が指す場所に格納する。 "
182 "I<nodemask> が NULL 以外の場合、そのポリシーに対応するノードマスクを この引き"
183 "数が指す場所に格納する。 I<maxnode> には I<nodemask> に格納できるノード ID の"
184 "数、つまり最大ノード ID に 1 を足した値を指定する。 I<maxnode> で指定された値"
185 "は常に I<sizeof(unsigned long)> の倍数に切り上げられる。"
186
187 #. type: Plain text
188 #: build/C/man2/get_mempolicy.2:141
189 msgid ""
190 "If I<flags> specifies both B<MPOL_F_NODE> and B<MPOL_F_ADDR>, "
191 "B<get_mempolicy>()  will return the node ID of the node on which the address "
192 "I<addr> is allocated into the location pointed to by I<mode>.  If no page "
193 "has yet been allocated for the specified address, B<get_mempolicy>()  will "
194 "allocate a page as if the process had performed a read [load] access to that "
195 "address, and return the ID of the node where that page was allocated."
196 msgstr ""
197 "I<flags> で B<MPOL_F_NODE> と B<MPOL_F_ADDR> の両方が指定された場合、 "
198 "B<get_mempolicy>()  はアドレス I<addr> が割り当てられているノードのノード ID "
199 "を I<mode> が指す場所に入れて返す。 指定されたアドレスにどのページもまだ割り"
200 "当てられていない場合、 B<get_mempolicy>()  は、あたかもそのプロセスがそのアド"
201 "レスに対して読み込みアクセスを 実行したかのようにページの割り当てを行い、ペー"
202 "ジが割り当てられた ノードの ID を返す。"
203
204 #.  Note:  code returns next interleave node via 'mode' argument -Lee Schermerhorn
205 #. type: Plain text
206 #: build/C/man2/get_mempolicy.2:166
207 msgid ""
208 "If I<flags> specifies B<MPOL_F_NODE>, but not B<MPOL_F_ADDR>, and the "
209 "process's current policy is B<MPOL_INTERLEAVE>, then B<get_mempolicy>()  "
210 "will return in the location pointed to by a non-NULL I<mode> argument, the "
211 "node ID of the next node that will be used for interleaving of internal "
212 "kernel pages allocated on behalf of the process.  These allocations include "
213 "pages for memory-mapped files in process memory ranges mapped using the "
214 "B<mmap>(2)  call with the B<MAP_PRIVATE> flag for read accesses, and in "
215 "memory ranges mapped with the B<MAP_SHARED> flag for all accesses."
216 msgstr ""
217 "I<flags> で B<MPOL_F_NODE> は指定されたが、 B<MPOL_F_ADDR> は指定されていない"
218 "場合で、かつ そのプロセスの現在のポリシーが B<MPOL_INTERLEAVE> の場合、 "
219 "B<get_mempolicy>()  は、そのプロセスに対して割り当てられたカーネルの内部ペー"
220 "ジで 次にインターリーブ用に使用されるノードのノード ID を、 NULL でない "
221 "I<mode> 引き数が指す場所に入れて返す。 読み込みアクセス用として "
222 "B<MAP_PRIVATE> フラグ付きで B<mmap>(2)  したプロセスメモリ領域や、 任意のアク"
223 "セス用として B<MAP_SHARED> フラグ付きで B<mmap>(2)  したメモリ領域の、メモリ"
224 "マップされたファイルに対するページも 上記のプロセスに対して割り当てられたペー"
225 "ジに含まれる。"
226
227 #. type: Plain text
228 #: build/C/man2/get_mempolicy.2:168
229 msgid "Other flag values are reserved."
230 msgstr "他のフラグは予約されている。"
231
232 #. type: Plain text
233 #: build/C/man2/get_mempolicy.2:171
234 msgid "For an overview of the possible policies see B<set_mempolicy>(2)."
235 msgstr "設定可能なポリシーの概要については B<set_mempolicy>(2)  を参照。"
236
237 #. type: SH
238 #: build/C/man2/get_mempolicy.2:171 build/C/man2/getcpu.2:61
239 #: build/C/man2/mbind.2:309 build/C/man2/migrate_pages.2:88
240 #: build/C/man2/move_pages.2:143 build/C/man2/set_mempolicy.2:220
241 #, no-wrap
242 msgid "RETURN VALUE"
243 msgstr "返り値"
244
245 #. type: Plain text
246 #: build/C/man2/get_mempolicy.2:178
247 msgid ""
248 "On success, B<get_mempolicy>()  returns 0; on error, -1 is returned and "
249 "I<errno> is set to indicate the error."
250 msgstr ""
251 "成功すると、 B<get_mempolicy>()  は 0 を返す。エラーの場合、-1 を返し、 "
252 "I<errno> にエラーを示す値を設定する。"
253
254 #. type: SH
255 #: build/C/man2/get_mempolicy.2:178 build/C/man2/getcpu.2:66
256 #: build/C/man2/mbind.2:317 build/C/man2/migrate_pages.2:96
257 #: build/C/man2/move_pages.2:152 build/C/man2/set_mempolicy.2:227
258 #, no-wrap
259 msgid "ERRORS"
260 msgstr "エラー"
261
262 #. type: TP
263 #: build/C/man2/get_mempolicy.2:179 build/C/man2/getcpu.2:67
264 #: build/C/man2/mbind.2:319 build/C/man2/move_pages.2:161
265 #: build/C/man2/set_mempolicy.2:228
266 #, no-wrap
267 msgid "B<EFAULT>"
268 msgstr "B<EFAULT>"
269
270 #. type: Plain text
271 #: build/C/man2/get_mempolicy.2:186 build/C/man2/set_mempolicy.2:235
272 msgid ""
273 "Part of all of the memory range specified by I<nodemask> and I<maxnode> "
274 "points outside your accessible address space."
275 msgstr ""
276 "I<nodemask> と I<maxnode> で指定されたメモリ領域の一部または全部が、 呼び出し"
277 "元がアクセス可能なアドレス空間外を指している。"
278
279 #. type: TP
280 #: build/C/man2/get_mempolicy.2:186 build/C/man2/mbind.2:327
281 #: build/C/man2/move_pages.2:164 build/C/man2/set_mempolicy.2:235
282 #, no-wrap
283 msgid "B<EINVAL>"
284 msgstr "B<EINVAL>"
285
286 #. type: Plain text
287 #: build/C/man2/get_mempolicy.2:230
288 msgid ""
289 "The value specified by I<maxnode> is less than the number of node IDs "
290 "supported by the system.  Or I<flags> specified values other than "
291 "B<MPOL_F_NODE> or B<MPOL_F_ADDR>; or I<flags> specified B<MPOL_F_ADDR> and "
292 "I<addr> is NULL, or I<flags> did not specify B<MPOL_F_ADDR> and I<addr> is "
293 "not NULL.  Or, I<flags> specified B<MPOL_F_NODE> but not B<MPOL_F_ADDR> and "
294 "the current process policy is not B<MPOL_INTERLEAVE>.  Or, I<flags> "
295 "specified B<MPOL_F_MEMS_ALLOWED> with either B<MPOL_F_ADDR> or "
296 "B<MPOL_F_NODE>.  (And there are other B<EINVAL> cases.)"
297 msgstr ""
298 "I<maxnode> で指定された値がシステムがサポートするノード ID の数よりも少な"
299 "い。 または、 I<flags> に B<MPOL_F_NODE> でも B<MPOL_F_ADDR> でもない値が指定"
300 "された。 または、 I<flags> に B<MPOL_F_ADDR> が指定されており、 I<addr> が "
301 "NULL である。 または、 I<flags> に B<MPOL_F_ADDR> がされておらず、 I<addr> "
302 "が NULL でない。 または、 I<flags> に B<MPOL_F_NODE> が指定されており、 "
303 "B<MPOL_F_ADDR> が指定されておらず、 プロセスの現在のポリシーが "
304 "B<MPOL_INTERLEAVE> でない。 または、 I<flags> に B<MPOL_F_MEMS_ALLOWED> が指"
305 "定されており、さらに B<MPOL_F_ADDR> か B<MPOL_F_NODE> のいずれかが指定されて"
306 "いる。 (他にも B<EINVAL> となる場合がある。)"
307
308 #. type: SH
309 #: build/C/man2/get_mempolicy.2:230 build/C/man2/getcpu.2:70
310 #: build/C/man2/mbind.2:399 build/C/man2/migrate_pages.2:112
311 #: build/C/man2/move_pages.2:192 build/C/man2/set_mempolicy.2:275
312 #, no-wrap
313 msgid "VERSIONS"
314 msgstr "バージョン"
315
316 #. type: Plain text
317 #: build/C/man2/get_mempolicy.2:234
318 msgid ""
319 "The B<get_mempolicy>()  system call was added to the Linux kernel in version "
320 "2.6.7."
321 msgstr ""
322 "B<get_mempolicy>()  システムコールはバージョン 2.6.7 で Linux カーネルに追加"
323 "された。"
324
325 #. type: SH
326 #: build/C/man2/get_mempolicy.2:234 build/C/man2/getcpu.2:73
327 #: build/C/man2/mbind.2:403 build/C/man2/migrate_pages.2:116
328 #: build/C/man2/move_pages.2:195 build/C/man7/numa.7:148
329 #: build/C/man2/set_mempolicy.2:279
330 #, no-wrap
331 msgid "CONFORMING TO"
332 msgstr "準拠"
333
334 #. type: Plain text
335 #: build/C/man2/get_mempolicy.2:236 build/C/man2/mbind.2:405
336 #: build/C/man2/migrate_pages.2:118 build/C/man2/move_pages.2:197
337 #: build/C/man2/set_mempolicy.2:281
338 msgid "This system call is Linux-specific."
339 msgstr "このシステムコールは Linux 固有である。"
340
341 #. type: SH
342 #: build/C/man2/get_mempolicy.2:236 build/C/man2/getcpu.2:76
343 #: build/C/man2/mbind.2:405 build/C/man2/migrate_pages.2:118
344 #: build/C/man2/move_pages.2:197 build/C/man7/numa.7:150
345 #: build/C/man2/set_mempolicy.2:281
346 #, no-wrap
347 msgid "NOTES"
348 msgstr "注意"
349
350 #. type: Plain text
351 #: build/C/man2/get_mempolicy.2:239 build/C/man2/mbind.2:408
352 #: build/C/man2/migrate_pages.2:121 build/C/man2/move_pages.2:200
353 #: build/C/man2/set_mempolicy.2:289
354 msgid "For information on library support, see B<numa>(7)."
355 msgstr "ライブラリによるサポートについては B<numa>(7)  を参照。"
356
357 #. type: SH
358 #: build/C/man2/get_mempolicy.2:239 build/C/man2/getcpu.2:139
359 #: build/C/man2/mbind.2:457 build/C/man2/migrate_pages.2:148
360 #: build/C/man2/move_pages.2:227 build/C/man7/numa.7:183
361 #: build/C/man2/set_mempolicy.2:289
362 #, no-wrap
363 msgid "SEE ALSO"
364 msgstr "関連項目"
365
366 #. type: Plain text
367 #: build/C/man2/get_mempolicy.2:247
368 msgid ""
369 "B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<set_mempolicy>(2), B<numa>(3), "
370 "B<numa>(7), B<numactl>(8)"
371 msgstr ""
372 "B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<set_mempolicy>(2), B<numa>(3), "
373 "B<numa>(7), B<numactl>(8)"
374
375 #. type: SH
376 #: build/C/man2/get_mempolicy.2:247 build/C/man2/getcpu.2:145
377 #: build/C/man2/mbind.2:468 build/C/man2/migrate_pages.2:161
378 #: build/C/man2/move_pages.2:237 build/C/man7/numa.7:191
379 #: build/C/man2/set_mempolicy.2:298
380 #, no-wrap
381 msgid "COLOPHON"
382 msgstr "この文書について"
383
384 #. type: Plain text
385 #: build/C/man2/get_mempolicy.2:255 build/C/man2/getcpu.2:153
386 #: build/C/man2/mbind.2:476 build/C/man2/migrate_pages.2:169
387 #: build/C/man2/move_pages.2:245 build/C/man7/numa.7:199
388 #: build/C/man2/set_mempolicy.2:306
389 #, fuzzy
390 #| msgid ""
391 #| "This page is part of release 3.68 of the Linux I<man-pages> project.  A "
392 #| "description of the project, information about reporting bugs, and the "
393 #| "latest version of this page, can be found at \\%http://www.kernel.org/doc/"
394 #| "man-pages/."
395 msgid ""
396 "This page is part of release 3.75 of the Linux I<man-pages> project.  A "
397 "description of the project, information about reporting bugs, and the latest "
398 "version of this page, can be found at \\%http://www.kernel.org/doc/man-"
399 "pages/."
400 msgstr ""
401 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.68 の一部\n"
402 "である。プロジェクトの説明とバグ報告に関する情報は\n"
403 "http://www.kernel.org/doc/man-pages/ に書かれている。"
404
405 #. type: TH
406 #: build/C/man2/getcpu.2:12
407 #, no-wrap
408 msgid "GETCPU"
409 msgstr "GETCPU"
410
411 #. type: TH
412 #: build/C/man2/getcpu.2:12
413 #, no-wrap
414 msgid "2013-04-03"
415 msgstr "2013-04-03"
416
417 #. type: Plain text
418 #: build/C/man2/getcpu.2:15
419 msgid ""
420 "getcpu - determine CPU and NUMA node on which the calling thread is running"
421 msgstr "getcpu - 呼び出し元スレッドが動作している CPU と NUMA ノードを判定する"
422
423 #. type: Plain text
424 #: build/C/man2/getcpu.2:18
425 #, no-wrap
426 msgid "B<#include E<lt>linux/getcpu.hE<gt>>\n"
427 msgstr "B<#include E<lt>linux/getcpu.hE<gt>>\n"
428
429 #. type: Plain text
430 #: build/C/man2/getcpu.2:21
431 #, no-wrap
432 msgid "B<int getcpu(unsigned *>I<cpu>B<, unsigned *>I<node>B<, struct getcpu_cache *>I<tcache>B<);>\n"
433 msgstr "B<int getcpu(unsigned *>I<cpu>B<, unsigned *>I<node>B<, struct getcpu_cache *>I<tcache>B<);>\n"
434
435 #. type: Plain text
436 #: build/C/man2/getcpu.2:25
437 msgid "I<Note>: There is no glibc wrapper for this system call; see NOTES."
438 msgstr ""
439 "I<注>: このシステムコールには glibc のラッパー関数は存在しない。「注意」の節"
440 "を参照。"
441
442 #. type: Plain text
443 #: build/C/man2/getcpu.2:42
444 msgid ""
445 "The B<getcpu>()  system call identifies the processor and node on which the "
446 "calling thread or process is currently running and writes them into the "
447 "integers pointed to by the I<cpu> and I<node> arguments.  The processor is a "
448 "unique small integer identifying a CPU.  The node is a unique small "
449 "identifier identifying a NUMA node.  When either I<cpu> or I<node> is NULL "
450 "nothing is written to the respective pointer."
451 msgstr ""
452 "B<getcpu>() システムコールは、呼び出し元のスレッドやプロセスが\n"
453 "現在動作しているプロセッサやノードの情報を特定し、\n"
454 "それぞれ引き数 I<cpu> と I<node> が指す整数に書き込む。\n"
455 "プロセッサ情報は CPU を識別するための一意な小さな整数である。\n"
456 "ノード情報は NUMAノードを識別するための一意な小さな整数である。\n"
457 "I<cpu> か I<node> のいずれかが NULL であれば、\n"
458 "その引き数に対応する情報の書き込みは行われない。"
459
460 #. type: Plain text
461 #: build/C/man2/getcpu.2:46
462 msgid ""
463 "The third argument to this system call is nowadays unused, and should be "
464 "specified as NULL unless portability to Linux 2.6.23 or earlier is required "
465 "(see NOTES)."
466 msgstr ""
467 "このシステムコールの 3 番目の引き数は現在は使われておらず、 Linux 2.6.23 以前"
468 "への移植性が必要な場合以外は NULL を渡すべきである (「注意」を参照)。"
469
470 #. type: Plain text
471 #: build/C/man2/getcpu.2:61
472 msgid ""
473 "The information placed in I<cpu> is guaranteed to be current only at the "
474 "time of the call: unless the CPU affinity has been fixed using "
475 "B<sched_setaffinity>(2), the kernel might change the CPU at any time.  "
476 "(Normally this does not happen because the scheduler tries to minimize "
477 "movements between CPUs to keep caches hot, but it is possible.)  The caller "
478 "must allow for the possibility that the information returned in I<cpu> and "
479 "I<node> is no longer current by the time the call returns."
480 msgstr ""
481 "I<cpu> に格納された情報が最新だと保証できるのは、システムコールが呼ばれ\n"
482 "た時点だけである。B<sched_setaffinity>(2) を使って CPU affinity が固定\n"
483 "されていない限り、カーネルはいつでも CPU を変更してもよい (スケジューラ\n"
484 "はキャッシュが有効に働くように CPU の移動を最小限にしようとするので、\n"
485 "通常は CPU が変更されることはないが、起きる可能性はある)。\n"
486 "I<cpu> や I<node> で返された情報が呼び出しが返った時点ですでに\n"
487 "最新の状況と異なる可能性があり、呼び出し元はこの可能性を考慮して\n"
488 "おかなければならない。"
489
490 #. type: Plain text
491 #: build/C/man2/getcpu.2:66
492 msgid ""
493 "On success, 0 is returned.  On error, -1 is returned, and I<errno> is set "
494 "appropriately."
495 msgstr ""
496 "成功すると、0 を返す。\n"
497 "エラーの場合、-1 を返し、 I<errno> にエラーを示す値を設定する。"
498
499 #. type: Plain text
500 #: build/C/man2/getcpu.2:70
501 msgid "Arguments point outside the calling process's address space."
502 msgstr "引き数が呼び出したプロセスのアドレス空間外を指している。"
503
504 #. type: Plain text
505 #: build/C/man2/getcpu.2:73
506 msgid "B<getcpu>()  was added in kernel 2.6.19 for x86_64 and i386."
507 msgstr "B<getcpu>() はカーネル 2.6.19 で x86_64 と i386 向けに追加された."
508
509 #. type: Plain text
510 #: build/C/man2/getcpu.2:76
511 msgid "B<getcpu>()  is Linux-specific."
512 msgstr "B<getcpu>() は Linux 固有である。"
513
514 #. type: Plain text
515 #: build/C/man2/getcpu.2:82
516 msgid ""
517 "Linux makes a best effort to make this call as fast possible.  The intention "
518 "of B<getcpu>()  is to allow programs to make optimizations with per-CPU data "
519 "or for NUMA optimization."
520 msgstr ""
521 "Linux はこのシステムコールを可能な限り早く実行しようとする。\n"
522 "B<getcpu>() は、CPU 毎のデータに対する最適化や NUMA 環境での最適化を\n"
523 "プログラムが行えるようにすることを目的として実装されているからである。"
524
525 #. type: Plain text
526 #: build/C/man2/getcpu.2:88
527 msgid ""
528 "Glibc does not provide a wrapper for this system call; call it using "
529 "B<syscall>(2); or use B<sched_getcpu>(3)  instead."
530 msgstr ""
531 "glibc はこのシステムコールに対するラッパー関数を提供していない。\n"
532 "B<syscall>(2) を使って呼び出すか、\n"
533 "代わりに B<sched_getcpu>(3) を使用すること。"
534
535 #.  commit 4307d1e5ada595c87f9a4d16db16ba5edb70dcb1
536 #.  Author: Ingo Molnar <mingo@elte.hu>
537 #.  Date:   Wed Nov 7 18:37:48 2007 +0100
538 #.  x86: ignore the sys_getcpu() tcache parameter
539 #.  ===== Before kernel 2.6.24: =====
540 #.  .I tcache
541 #.  is a pointer to a
542 #.  .IR "struct getcpu_cache"
543 #.  that is used as a cache by
544 #.  .BR getcpu ().
545 #.  The caller should put the cache into a thread-local variable
546 #.  if the process is multithreaded,
547 #.  because the cache cannot be shared between different threads.
548 #.  .I tcache
549 #.  can be NULL.
550 #.  If it is not NULL
551 #.  .BR getcpu ()
552 #.  will use it to speed up operation.
553 #.  The information inside the cache is private to the system call
554 #.  and should not be accessed by the user program.
555 #.  The information placed in the cache can change between kernel releases.
556 #.  When no cache is specified
557 #.  .BR getcpu ()
558 #.  will be slower,
559 #.  but always retrieve the current CPU and node information.
560 #.  With a cache
561 #.  .BR getcpu ()
562 #.  is faster.
563 #.  However, the cached information is updated only once per jiffy (see
564 #.  .BR time (7)).
565 #.  This means that the information could theoretically be out of date,
566 #.  although in practice the scheduler's attempt to maintain
567 #.  soft CPU affinity means that the information is unlikely to change
568 #.  over the course of the caching interval.
569 #. type: Plain text
570 #: build/C/man2/getcpu.2:139
571 msgid ""
572 "The I<tcache> argument is unused since Linux 2.6.24.  In earlier kernels, if "
573 "this argument was non-NULL, then it specified a pointer to a caller-"
574 "allocated buffer in thread-local storage that was used to provide a caching "
575 "mechanism for B<getcpu>().  Use of the cache could speed B<getcpu>()  calls, "
576 "at the cost that there was a very small chance that the returned information "
577 "would be out of date.  The caching mechanism was considered to cause "
578 "problems when migrating threads between CPUs, and so the argument is now "
579 "ignored."
580 msgstr ""
581 "I<tcache> 引き数は Linux 2.6.24 以降では使用されない。以前のバージョン\n"
582 "のカーネルでは、この引き数が NULL 以外の場合、この引き数には、呼び出し\n"
583 "元が割り当てたスレッド専用の記憶領域 (thread-local storage) 内のバッファ\n"
584 "を指すポインタが指定され、このバッファは B<getcpu>() 用のキャッシュ機構\n"
585 "を提供するために利用されていた。非常に低い確率だが古い情報を返してしま\n"
586 "うデメリットはあるものの、このキャッシュを使うことで B<getcpu>() システ\n"
587 "ムコールを高速化できた。このキャッシュ機構はCPU 間でのスレッドの移動時\n"
588 "に問題になると考えられ、この引き数は今では無視されるようになっている。"
589
590 #. type: Plain text
591 #: build/C/man2/getcpu.2:145
592 msgid ""
593 "B<mbind>(2), B<sched_setaffinity>(2), B<set_mempolicy>(2), "
594 "B<sched_getcpu>(3), B<cpuset>(7)"
595 msgstr ""
596 "B<mbind>(2), B<sched_setaffinity>(2), B<set_mempolicy>(2), "
597 "B<sched_getcpu>(3), B<cpuset>(7)"
598
599 #. type: TH
600 #: build/C/man2/mbind.2:45
601 #, no-wrap
602 msgid "MBIND"
603 msgstr "MBIND"
604
605 #. type: TH
606 #: build/C/man2/mbind.2:45
607 #, no-wrap
608 msgid "2014-05-10"
609 msgstr "2014-05-10"
610
611 #. type: Plain text
612 #: build/C/man2/mbind.2:48
613 msgid "mbind - set memory policy for a memory range"
614 msgstr "mbind - メモリ領域に対してメモリポリシーを設定する"
615
616 #. type: Plain text
617 #: build/C/man2/mbind.2:51 build/C/man2/migrate_pages.2:24
618 #: build/C/man2/move_pages.2:25 build/C/man2/set_mempolicy.2:33
619 #, no-wrap
620 msgid "B<#include E<lt>numaif.hE<gt>>\n"
621 msgstr "B<#include E<lt>numaif.hE<gt>>\n"
622
623 #. type: Plain text
624 #: build/C/man2/mbind.2:55
625 #, no-wrap
626 msgid ""
627 "B<long mbind(void *>I<addr>B<, unsigned long >I<len>B<, int >I<mode>B<,>\n"
628 "B<           const unsigned long *>I<nodemask>B<, unsigned long >I<maxnode>B<,>\n"
629 "B<           unsigned >I<flags>B<);>\n"
630 msgstr ""
631 "B<long mbind(void *>I<addr>B<, unsigned long >I<len>B<, int >I<mode>B<,>\n"
632 "B<           const unsigned long *>I<nodemask>B<, unsigned long >I<maxnode>B<,>\n"
633 "B<           unsigned >I<flags>B<);>\n"
634
635 #. type: Plain text
636 #: build/C/man2/mbind.2:68
637 msgid ""
638 "B<mbind>()  sets the NUMA memory policy, which consists of a policy mode and "
639 "zero or more nodes, for the memory range starting with I<addr> and "
640 "continuing for I<len> bytes.  The memory policy defines from which node "
641 "memory is allocated."
642 msgstr ""
643 "B<mbind>()  は、 I<addr> から始まる長さ I<len> バイトの範囲のメモリに NUMA メ"
644 "モリポリシーを設定する。 NUMA ポリシーはポリシーモードと 0 個以上のノードから"
645 "構成される。 メモリポリシーはどのノードからメモリを割り当てるかを決定する。"
646
647 #. type: Plain text
648 #: build/C/man2/mbind.2:90
649 msgid ""
650 "If the memory range specified by the I<addr> and I<len> arguments includes "
651 "an \"anonymous\" region of memory\\(emthat is a region of memory created "
652 "using the B<mmap>(2)  system call with the B<MAP_ANONYMOUS>\\(emor a memory-"
653 "mapped file, mapped using the B<mmap>(2)  system call with the "
654 "B<MAP_PRIVATE> flag, pages will be allocated only according to the specified "
655 "policy when the application writes [stores] to the page.  For anonymous "
656 "regions, an initial read access will use a shared page in the kernel "
657 "containing all zeros.  For a file mapped with B<MAP_PRIVATE>, an initial "
658 "read access will allocate pages according to the process policy of the "
659 "process that causes the page to be allocated.  This may not be the process "
660 "that called B<mbind>()."
661 msgstr ""
662 "I<addr> と I<len> で指定されたメモリ範囲に、 メモリの「無名」領域 \\(em "
663 "B<MAP_ANONYMOUS> 付きの B<mmap>(2)  システムコールを使って作成されたメモリ領"
664 "域 \\(em や B<MAP_PRIVATE> 付きの B<mmap>(2)  を使ってマップされたメモリマッ"
665 "プ・ファイルが含まれている場合、アプリケーションがそのページへの書き込み "
666 "(データの格納) を行った時には指定されたポリシーのみに基づいてページが割り当て"
667 "られる。無名領域の場合、最初の読み出しアクセスの際には カーネル内の全データ"
668 "が 0 である共有ページが使用される。 B<MAP_PRIVATE> でマップされたファイルの場"
669 "合、最初の読み出しアクセスがあると、 ページ割り当てが発生するきっかけとなった"
670 "プロセスのデフォルトポリシー にしたがってページの割り当てが行われる。 ページ"
671 "割り当てのきっかけとなったプロセスは、 B<mbind>()  を呼び出したプロセスと同じ"
672 "とは限らない。"
673
674 #. type: Plain text
675 #: build/C/man2/mbind.2:98
676 msgid ""
677 "The specified policy will be ignored for any B<MAP_SHARED> mappings in the "
678 "specified memory range.  Rather the pages will be allocated according to the "
679 "process policy of the process that caused the page to be allocated.  Again, "
680 "this may not be the process that called B<mbind>()."
681 msgstr ""
682 "指定されたメモリ範囲内にある B<MAP_SHARED> のマッピングでは指定されたポリシー"
683 "は無視され、 ページ割り当てが発生するきっかけとなったプロセスのデフォルトポリ"
684 "シーに したがってページの割り当てが行われることになる。 繰り返しになるが、"
685 "ページ割り当てのきっかけとなったプロセスは、 B<mbind>()  を呼び出したプロセス"
686 "と同じとは限らない。"
687
688 #. type: Plain text
689 #: build/C/man2/mbind.2:115
690 msgid ""
691 "If the specified memory range includes a shared memory region created using "
692 "the B<shmget>(2)  system call and attached using the B<shmat>(2)  system "
693 "call, pages allocated for the anonymous or shared memory region will be "
694 "allocated according to the policy specified, regardless which process "
695 "attached to the shared memory segment causes the allocation.  If, however, "
696 "the shared memory region was created with the B<SHM_HUGETLB> flag, the huge "
697 "pages will be allocated according to the policy specified only if the page "
698 "allocation is caused by the process that calls B<mbind>()  for that region."
699 msgstr ""
700 "指定されたメモリ範囲に、 B<shmget>(2)  システムコールを使って作成されたり、 "
701 "B<shmat>(2)  システムコールを使って付加 (attach) されたりした共有メモリ領域"
702 "が 含まれる場合、無名メモリ領域や共有メモリ領域に対するページ割り当ては、 共"
703 "有メモリセグメントへポリシーの設定を行ったプロセスがページ割り当て のきっかけ"
704 "となったかに関わらず、指定されたポリシーにしたがって割り当て が行われる。 し"
705 "かしながら、共有メモリ領域が B<SHM_HUGETLB> フラグを指定して作成された場合に"
706 "は、ヒュージページ (huge page) の割り当てが 指定されたポリシーにしたがって行"
707 "われるのは、その領域に対して B<mbind>()  を呼び出したプロセスがページ割り当て"
708 "のきっかけとなった場合のみである。"
709
710 #. type: Plain text
711 #: build/C/man2/mbind.2:126
712 msgid ""
713 "By default, B<mbind>()  has an effect only for new allocations; if the pages "
714 "inside the range have been already touched before setting the policy, then "
715 "the policy has no effect.  This default behavior may be overridden by the "
716 "B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> flags described below."
717 msgstr ""
718 "デフォルトでは、 B<mbind>()  は新規のメモリ割り当てに対してのみ効果を持つ。 "
719 "ポリシーが設定される前にすでに使用されている範囲内のページに対しては、 ポリ"
720 "シーは影響しない。 このデフォルトの動作は、以下で説明するフラグ "
721 "B<MPOL_MF_MOVE> や B<MPOL_MF_MOVE_ALL> により上書きされる可能性がある。"
722
723 #. type: Plain text
724 #: build/C/man2/mbind.2:141
725 msgid ""
726 "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
727 "B<MPOL_INTERLEAVE>, or B<MPOL_PREFERRED>.  All policy modes except "
728 "B<MPOL_DEFAULT> require the caller to specify via the I<nodemask> argument, "
729 "the node or nodes to which the mode applies."
730 msgstr ""
731 "I<mode> 引き数には、 B<MPOL_DEFAULT>, B<MPOL_BIND>, B<MPOL_INTERLEAVE>, "
732 "B<MPOL_PREFERRED> のいずれか一つを指定しなければならない。 B<MPOL_DEFAULT> 以"
733 "外のポリシーモードの場合、呼び出し元は I<nodemask> 引き数でそのポリシーモード"
734 "を適用するノードを指定する必要がある。"
735
736 #. type: Plain text
737 #: build/C/man2/mbind.2:149
738 msgid ""
739 "The I<mode> argument may also include an optional I<mode flag >.  The "
740 "supported I<mode flags> are:"
741 msgstr ""
742 "I<mode> 引き数には、追加で I<モードフラグ> を含めることもできる。 サポートさ"
743 "れている I<モードフラグ> は以下の通りである。"
744
745 #. type: TP
746 #: build/C/man2/mbind.2:149
747 #, no-wrap
748 msgid "B<MPOL_F_STATIC_NODES> (since Linux-2.6.26)"
749 msgstr "B<MPOL_F_STATIC_NODES> (Linux-2.6.26 以降)"
750
751 #. type: Plain text
752 #: build/C/man2/mbind.2:159
753 msgid ""
754 "A nonempty I<nodemask> specifies physical node ids.  Linux does not remap "
755 "the I<nodemask> when the process moves to a different cpuset context, nor "
756 "when the set of nodes allowed by the process's current cpuset context "
757 "changes."
758 msgstr ""
759 "空でない I<nodemask> は、物理ノード ID である。 Linux では、そのプロセスが異"
760 "なる CPU 集合コンテキスト (cpuset context)  に移動した場合でも、そのプロセス"
761 "の現在の CPU 集合コンテキストで 許可されているノード集合が変化した場合でも、 "
762 "I<nodemask> をマッピングし直すことはない。"
763
764 #. type: TP
765 #: build/C/man2/mbind.2:159
766 #, no-wrap
767 msgid "B<MPOL_F_RELATIVE_NODES> (since Linux-2.6.26)"
768 msgstr "B<MPOL_F_RELATIVE_NODES> (Linux-2.6.26 以降)"
769
770 #. type: Plain text
771 #: build/C/man2/mbind.2:165 build/C/man2/set_mempolicy.2:113
772 msgid ""
773 "A nonempty I<nodemask> specifies node ids that are relative to the set of "
774 "node ids allowed by the process's current cpuset."
775 msgstr ""
776 "空でない I<nodemask> は、そのプロセスの現在の CPU 集合で許可されているノード "
777 "ID 集合 における相対的なノード ID である。"
778
779 #. type: Plain text
780 #: build/C/man2/mbind.2:193
781 msgid ""
782 "I<nodemask> points to a bit mask of nodes containing up to I<maxnode> bits.  "
783 "The bit mask size is rounded to the next multiple of I<sizeof(unsigned "
784 "long)>, but the kernel will use bits only up to I<maxnode>.  A NULL value of "
785 "I<nodemask> or a I<maxnode> value of zero specifies the empty set of nodes.  "
786 "If the value of I<maxnode> is zero, the I<nodemask> argument is ignored.  "
787 "Where a I<nodemask> is required, it must contain at least one node that is "
788 "on-line, allowed by the process's current cpuset context [unless the "
789 "B<MPOL_F_STATIC_NODES> mode flag is specified], and contains memory."
790 msgstr ""
791 "I<nodemask> は、最大で I<maxnode> ビットから構成されるノードのビットマスクを"
792 "指す。 ビットマスクの大きさは、直近の I<sizeof(unsigned long)> の倍数に切り上"
793 "げられるが、カーネルが使用するのは I<maxnode> 個までのビットだけである。 "
794 "NULL 値の I<nodemask> もしくは値が 0 の I<maxnode> はノードの空集合を表す。 "
795 "I<maxnode> の値が 0 の場合、 I<nodemask> 引き数は無視される。 I<nodemask> が"
796 "必須の場面では、 I<nodemask> に、オンラインで、そのプロセスの現在の CPU 集合"
797 "コンテキストで 許可されており (B<MPOL_F_STATIC_NODES> モードフラグが指定され"
798 "ていない場合)、メモリがあるノードが 少なくとも一つ入っていなければならない。"
799
800 #. type: Plain text
801 #: build/C/man2/mbind.2:215
802 msgid ""
803 "The B<MPOL_DEFAULT> mode requests that any nondefault policy be removed, "
804 "restoring default behavior.  When applied to a range of memory via "
805 "B<mbind>(), this means to use the process policy, which may have been set "
806 "with B<set_mempolicy>(2).  If the mode of the process policy is also "
807 "B<MPOL_DEFAULT>, the system-wide default policy will be used.  The system-"
808 "wide default policy allocates pages on the node of the CPU that triggers the "
809 "allocation.  For B<MPOL_DEFAULT>, the I<nodemask> and I<maxnode> arguments "
810 "must be specify the empty set of nodes."
811 msgstr ""
812 "モード B<MPOL_DEFAULT> はデフォルトではないプロセスのメモリポリシーを削除"
813 "し、 デフォルトの動作に戻すことを指定するものである。 B<mbind>()  経由で、あ"
814 "るメモリ領域に対して B<MPOL_DEFAULT> が適用された場合、プロセスのデフォルトポ"
815 "リシーを使用することを意味する。 プロセスのデフォルトポリシーは、 "
816 "B<set_mempolicy>(2)  で変更されているかもしれない。 プロセスのポリシーのモー"
817 "ドも B<MPOL_DEFAULT> の場合、システム全体のデフォルトポリシーが使用される。 "
818 "システム全体のデフォルトポリシーでは、割り当てのきっかけとなった CPU のノード"
819 "からページの割り当てを行う。 B<MPOL_DEFAULT> では、引き数 I<nodemask> と "
820 "I<maxnode> にノードの空集合を指定しなければならない。"
821
822 #. type: Plain text
823 #: build/C/man2/mbind.2:232
824 msgid ""
825 "The B<MPOL_BIND> mode specifies a strict policy that restricts memory "
826 "allocation to the nodes specified in I<nodemask>.  If I<nodemask> specifies "
827 "more than one node, page allocations will come from the node with the lowest "
828 "numeric node ID first, until that node contains no free memory.  Allocations "
829 "will then come from the node with the next highest node ID specified in "
830 "I<nodemask> and so forth, until none of the specified nodes contain free "
831 "memory.  Pages will not be allocated from any node not specified in the "
832 "I<nodemask>."
833 msgstr ""
834 "B<MPOL_BIND> は厳しいポリシーで、メモリ割り当ては I<nodemask> に指定された"
835 "ノードに限定される。 他のノードへの割り当ては行われない。 I<nodemask> に 2 個"
836 "以上のノードが指定された場合、ページの割り当ては ノード ID が数字として最小の"
837 "ノードから開始され、 そのノードに空きメモリがなくなるまでそのノードから ペー"
838 "ジ割り当てが行われる。そのノードに空きメモリがなくなったら、 次に小さなノー"
839 "ド ID を持つノードからページ割り当てが行われる。 これを、 I<nodemask> で指定"
840 "された全てのノードで空きメモリがなくなるまで繰り返す。 I<nodemask> で指定され"
841 "た以外のノードからはページの割り当ては行われない。"
842
843 #. type: Plain text
844 #: build/C/man2/mbind.2:245
845 msgid ""
846 "The B<MPOL_INTERLEAVE> mode specifies that page allocations be interleaved "
847 "across the set of nodes specified in I<nodemask>.  This optimizes for "
848 "bandwidth instead of latency by spreading out pages and memory accesses to "
849 "those pages across multiple nodes.  To be effective the memory area should "
850 "be fairly large, at least 1MB or bigger with a fairly uniform access "
851 "pattern.  Accesses to a single page of the area will still be limited to the "
852 "memory bandwidth of a single node."
853 msgstr ""
854 "B<MPOL_INTERLEAVE> は、メモリ割り当てが I<nodemask> に指定されたノード間で交"
855 "互に行われることを指定するものである。 このポリシーでは、複数のノードにページ"
856 "を広げて配置し、これらのページへの メモリアクセスを分散することで、遅延ではな"
857 "く、帯域を最適化する。 効果を得るには、メモリ領域をある程度大きくすべきであ"
858 "り、 メモリアクセスのパターンがかなり均一な場合でも 少なくとも 1MB 以上にすべ"
859 "きである。 このモードでも、一つのページへのアクセスに関しては 一つのノードの"
860 "メモリ帯域が上限となることは変わりない。"
861
862 #. type: Plain text
863 #: build/C/man2/mbind.2:264
864 msgid ""
865 "B<MPOL_PREFERRED> sets the preferred node for allocation.  The kernel will "
866 "try to allocate pages from this node first and fall back to other nodes if "
867 "the preferred nodes is low on free memory.  If I<nodemask> specifies more "
868 "than one node ID, the first node in the mask will be selected as the "
869 "preferred node.  If the I<nodemask> and I<maxnode> arguments specify the "
870 "empty set, then the memory is allocated on the node of the CPU that "
871 "triggered the allocation.  This is the only way to specify \"local allocation"
872 "\" for a range of memory via B<mbind>()."
873 msgstr ""
874 "B<MPOL_PREFERRED> は、割り当て時に優先されるノードを設定する。 カーネルはまず"
875 "優先ノードにページ割り当てを行おうとし、 優先ノードに空きメモリが少ない場合に"
876 "他のノードに割り当てを行う。 I<nodemask> に複数のノード ID が指定された場合"
877 "は、 I<nodemask> 内の最初のノードが優先ノードとして選択される。 引き数 "
878 "I<nodemask>, I<maxnode> で空集合が指定された場合は、割り当てのきっかけとなっ"
879 "た CPU のノードに メモリ割り当てが行われる。 B<mbind>(2)  で、あるメモリ領域"
880 "に対して「ローカルからの割り当て (local allocation)」を 指定する方法はこれし"
881 "かない。"
882
883 #.  According to the kernel code, the following is not true
884 #.  --Lee Schermerhorn
885 #.  In 2.6.16 or later the kernel will also try to move pages
886 #.  to the requested node with this flag.
887 #. type: Plain text
888 #: build/C/man2/mbind.2:280
889 msgid ""
890 "If B<MPOL_MF_STRICT> is passed in I<flags> and I<mode> is not "
891 "B<MPOL_DEFAULT>, then the call will fail with the error B<EIO> if the "
892 "existing pages in the memory range don't follow the policy."
893 msgstr ""
894 "I<flags> に B<MPOL_MF_STRICT> が 指定され、 I<mode> が B<MPOL_DEFAULT> でない"
895 "場合、 指定されたポリシーに従っていないメモリ領域にページが存在すると、 "
896 "B<mbind>()  はエラー B<EIO> で失敗する。"
897
898 #. type: Plain text
899 #: build/C/man2/mbind.2:293
900 msgid ""
901 "If B<MPOL_MF_MOVE> is specified in I<flags>, then the kernel will attempt to "
902 "move all the existing pages in the memory range so that they follow the "
903 "policy.  Pages that are shared with other processes will not be moved.  If "
904 "B<MPOL_MF_STRICT> is also specified, then the call will fail with the error "
905 "B<EIO> if some pages could not be moved."
906 msgstr ""
907 "I<flags> に B<MPOL_MF_MOVE> が指定されると、カーネルはそのメモリ領域内の既存"
908 "の全てのページを移動し、 指定されたポリシーに従うようにしようとする。 他のプ"
909 "ロセスと共有されているページは移動されない。 B<MPOL_MF_STRICT> も指定された場"
910 "合、移動できなかったページがあると、 B<mbind>()  はエラー B<EIO> で失敗する。"
911
912 #.  ---------------------------------------------------------------
913 #. type: Plain text
914 #: build/C/man2/mbind.2:309
915 msgid ""
916 "If B<MPOL_MF_MOVE_ALL> is passed in I<flags>, then the kernel will attempt "
917 "to move all existing pages in the memory range regardless of whether other "
918 "processes use the pages.  The calling process must be privileged "
919 "(B<CAP_SYS_NICE>)  to use this flag.  If B<MPOL_MF_STRICT> is also "
920 "specified, then the call will fail with the error B<EIO> if some pages could "
921 "not be moved."
922 msgstr ""
923 "I<flags> に B<MPOL_MF_MOVE_ALL> が指定されると、カーネルはそのメモリ領域内の"
924 "既存の全てのページを、 他のプロセスがページを使用しているかどうかに関わらず移"
925 "動する。 このフラグを使用するには、呼び出し元のプロセスは特権 "
926 "(B<CAP_SYS_NICE>)  を持っていなければならない。 B<MPOL_MF_STRICT> も指定され"
927 "た場合、移動できなかったページがあると、 B<mbind>()  はエラー B<EIO> で失敗す"
928 "る。"
929
930 #.  ---------------------------------------------------------------
931 #. type: Plain text
932 #: build/C/man2/mbind.2:317
933 msgid ""
934 "On success, B<mbind>()  returns 0; on error, -1 is returned and I<errno> is "
935 "set to indicate the error."
936 msgstr ""
937 "成功すると、 B<mbind>()  は 0 を返す。エラーの場合、-1 を返し、 I<errno> にエ"
938 "ラーを示す値を設定する。"
939
940 #. type: Plain text
941 #: build/C/man2/mbind.2:327
942 msgid ""
943 "Part or all of the memory range specified by I<nodemask> and I<maxnode> "
944 "points outside your accessible address space.  Or, there was an unmapped "
945 "hole in the specified memory range."
946 msgstr ""
947 "I<nodemask> と I<maxnode> で指定されたメモリ領域の一部または全部が、 呼び出し"
948 "元がアクセス可能なアドレス空間外を指している。 もしくは指定されたメモリ領域に"
949 "マップされていない部分 (unmapped hole)  があった、"
950
951 #.  As at 2.6.23, this limit is "a page worth of bits", e.g.,
952 #.  8 * 4096 bits, assuming a 4kB page size.
953 #. type: Plain text
954 #: build/C/man2/mbind.2:375
955 msgid ""
956 "An invalid value was specified for I<flags> or I<mode>; or I<addr + len> was "
957 "less than I<addr>; or I<addr> is not a multiple of the system page size.  "
958 "Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> specified a nonempty set; or "
959 "I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and I<nodemask> is empty.  Or, "
960 "I<maxnode> exceeds a kernel-imposed limit.  Or, I<nodemask> specifies one or "
961 "more node IDs that are greater than the maximum supported node ID.  Or, none "
962 "of the node IDs specified by I<nodemask> are on-line and allowed by the "
963 "process's current cpuset context, or none of the specified nodes contain "
964 "memory.  Or, the I<mode> argument specified both B<MPOL_F_STATIC_NODES> and "
965 "B<MPOL_F_RELATIVE_NODES>."
966 msgstr ""
967 "I<flags> や I<mode> に不正な値が指定された。 I<addr + len> が I<addr> より小"
968 "さい。 I<addr> がシステムのページサイズの倍数になっていない。 または I<mode> "
969 "が B<MPOL_DEFAULT> で I<nodemask> に空でない集合が指定された。 I<mode> が "
970 "B<MPOL_BIND> か B<MPOL_INTERLEAVE> で I<nodemask> が空であった。 I<maxnode> "
971 "がカーネルに適用された上限を超えている。 I<nodemask> に、サポートされている最"
972 "大ノード ID より大きいノードが指定された。 I<nodemask> に、オンラインで、かつ"
973 "そのプロセスの現在の CPU 集合コンテキストで 許可されているノードが一つも含ま"
974 "れていないか、 メモリを含むノードが一つも指定されていない。 I<mode> 引き数に "
975 "B<MPOL_F_STATIC_NODES> と B<MPOL_F_RELATIVE_NODES> の両方が指定された。"
976
977 #. type: TP
978 #: build/C/man2/mbind.2:375
979 #, no-wrap
980 msgid "B<EIO>"
981 msgstr "B<EIO>"
982
983 #. type: Plain text
984 #: build/C/man2/mbind.2:386
985 msgid ""
986 "B<MPOL_MF_STRICT> was specified and an existing page was already on a node "
987 "that does not follow the policy; or B<MPOL_MF_MOVE> or B<MPOL_MF_MOVE_ALL> "
988 "was specified and the kernel was unable to move all existing pages in the "
989 "range."
990 msgstr ""
991 "B<MPOL_MF_STRICT> が指定されたが、このポリシーに従っていないノードに すでに"
992 "ページが存在していた。 もしくは B<MPOL_MF_MOVE> か B<MPOL_MF_MOVE_ALL> が指定"
993 "されたが、カーネルが指定された領域内の既存の全てのページを 移動することができ"
994 "なかった。"
995
996 #. type: TP
997 #: build/C/man2/mbind.2:386 build/C/man2/set_mempolicy.2:272
998 #, no-wrap
999 msgid "B<ENOMEM>"
1000 msgstr "B<ENOMEM>"
1001
1002 #. type: Plain text
1003 #: build/C/man2/mbind.2:389 build/C/man2/set_mempolicy.2:275
1004 msgid "Insufficient kernel memory was available."
1005 msgstr "利用可能なカーネルメモリが十分でなかった。"
1006
1007 #. type: TP
1008 #: build/C/man2/mbind.2:389 build/C/man2/migrate_pages.2:97
1009 #: build/C/man2/move_pages.2:180
1010 #, no-wrap
1011 msgid "B<EPERM>"
1012 msgstr "B<EPERM>"
1013
1014 #.  ---------------------------------------------------------------
1015 #. type: Plain text
1016 #: build/C/man2/mbind.2:399
1017 msgid ""
1018 "The I<flags> argument included the B<MPOL_MF_MOVE_ALL> flag and the caller "
1019 "does not have the B<CAP_SYS_NICE> privilege."
1020 msgstr ""
1021 "I<flags> 引き数に B<MPOL_MF_MOVE_ALL> フラグが含まれているが、呼び出し元が "
1022 "B<CAP_SYS_NICE> 特権を持たない。"
1023
1024 #. type: Plain text
1025 #: build/C/man2/mbind.2:403
1026 msgid ""
1027 "The B<mbind>()  system call was added to the Linux kernel in version 2.6.7."
1028 msgstr ""
1029 "B<mbind>()  システムコールはバージョン 2.6.7 で Linux カーネルに追加された。"
1030
1031 #. type: Plain text
1032 #: build/C/man2/mbind.2:413
1033 msgid ""
1034 "NUMA policy is not supported on a memory-mapped file range that was mapped "
1035 "with the B<MAP_SHARED> flag."
1036 msgstr ""
1037 "NUMA ポリシーは、 B<MAP_SHARED> フラグが指定されてマップされたメモリマップ・"
1038 "ファイルの領域では サポートされていない。"
1039
1040 #. type: Plain text
1041 #: build/C/man2/mbind.2:445
1042 msgid ""
1043 "The B<MPOL_DEFAULT> mode can have different effects for B<mbind>()  and "
1044 "B<set_mempolicy>(2).  When B<MPOL_DEFAULT> is specified for "
1045 "B<set_mempolicy>(2), the process's policy reverts to system default policy "
1046 "or local allocation.  When B<MPOL_DEFAULT> is specified for a range of "
1047 "memory using B<mbind>(), any pages subsequently allocated for that range "
1048 "will use the process's policy, as set by B<set_mempolicy>(2).  This "
1049 "effectively removes the explicit policy from the specified range, \"falling "
1050 "back\" to a possibly nondefault policy.  To select explicit \"local "
1051 "allocation\" for a memory range, specify a I<mode> of B<MPOL_PREFERRED> with "
1052 "an empty set of nodes.  This method will work for B<set_mempolicy>(2), as "
1053 "well."
1054 msgstr ""
1055 "B<MPOL_DEFAULT> モードは、 B<mbind>()  と B<set_mempolicy>(2)  で異なる効果を"
1056 "持つことができる。 B<set_mempolicy>(2)  で B<MPOL_DEFAULT> が指定された場合、"
1057 "そのプロセスのポリシーはシステムの デフォルトポリシー、すなわちローカルからの"
1058 "割り当て、に戻る。 B<mbind>()  を使ってメモリのある領域に B<MPOL_DEFAULT> が"
1059 "指定された場合、その範囲に対してそれ以降に行われるページの割り当てでは、 "
1060 "B<set_mempolicy>(2)  で設定したのと同じように、そのプロセスのポリシーが適用さ"
1061 "れる。 これにより、特定のメモリ領域についてだけ明示的なポリシーを削除し、 デ"
1062 "フォルトのポリシーに「戻す」ことができる。 あるメモリ領域に対して「ローカルか"
1063 "らの割り当て」を明示的に設定するには、 I<mode> に B<MPOL_PREFERRED> を指定"
1064 "し、 I<nodemask> に空集合のノードを指定すればよい。 この方法は "
1065 "B<set_mempolicy>(2)  でも通用する。"
1066
1067 #. type: Plain text
1068 #: build/C/man2/mbind.2:449
1069 msgid ""
1070 "Support for huge page policy was added with 2.6.16.  For interleave policy "
1071 "to be effective on huge page mappings the policied memory needs to be tens "
1072 "of megabytes or larger."
1073 msgstr ""
1074 "2.6.16 でヒュージページ・ポリシーへの対応が追加された。 インターリーブ・ポリ"
1075 "シーがヒュージページのマッピングで効果を持つには、 ポリシーが適用されるメモリ"
1076 "が数十メガバイト以上である必要がある。"
1077
1078 #. type: Plain text
1079 #: build/C/man2/mbind.2:452
1080 msgid "B<MPOL_MF_STRICT> is ignored on huge page mappings."
1081 msgstr "B<MPOL_MF_STRICT> はヒュージページのマッピングでは無視される。"
1082
1083 #. type: Plain text
1084 #: build/C/man2/mbind.2:457
1085 msgid ""
1086 "B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> are available only on Linux 2.6.16 "
1087 "and later."
1088 msgstr ""
1089 "B<MPOL_MF_MOVE> と B<MPOL_MF_MOVE_ALL> は Linux 2.6.16 以降でのみ利用可能であ"
1090 "る。"
1091
1092 #. type: Plain text
1093 #: build/C/man2/mbind.2:468
1094 msgid ""
1095 "B<get_mempolicy>(2), B<getcpu>(2), B<mmap>(2), B<set_mempolicy>(2), "
1096 "B<shmat>(2), B<shmget>(2), B<numa>(3), B<cpuset>(7), B<numa>(7), "
1097 "B<numactl>(8)"
1098 msgstr ""
1099 "B<get_mempolicy>(2), B<getcpu>(2), B<mmap>(2), B<set_mempolicy>(2),\n"
1100 "B<shmat>(2), B<shmget>(2), B<numa>(3), B<cpuset>(7), B<numa>(7),\n"
1101 "B<numactl>(8)"
1102
1103 #. type: TH
1104 #: build/C/man2/migrate_pages.2:18
1105 #, no-wrap
1106 msgid "MIGRATE_PAGES"
1107 msgstr "MIGRATE_PAGES"
1108
1109 #. type: TH
1110 #: build/C/man2/migrate_pages.2:18
1111 #, no-wrap
1112 msgid "2012-08-01"
1113 msgstr "2012-08-01"
1114
1115 #. type: Plain text
1116 #: build/C/man2/migrate_pages.2:21
1117 msgid "migrate_pages - move all pages in a process to another set of nodes"
1118 msgstr "migrate_pages - プロセスの全ページを別のノード集合に移動する"
1119
1120 #. type: Plain text
1121 #: build/C/man2/migrate_pages.2:28
1122 #, no-wrap
1123 msgid ""
1124 "B<long migrate_pages(int >I<pid>B<, unsigned long >I<maxnode,>\n"
1125 "B<                   const unsigned long *>I<old_nodes,>\n"
1126 "B<                   const unsigned long *>I<new_nodes>B<);>\n"
1127 msgstr ""
1128 "B<long migrate_pages(int >I<pid>B<, unsigned long >I<maxnode,>\n"
1129 "B<                   const unsigned long *>I<old_nodes,>\n"
1130 "B<                   const unsigned long *>I<new_nodes>B<);>\n"
1131
1132 #. type: Plain text
1133 #: build/C/man2/migrate_pages.2:31 build/C/man2/move_pages.2:31
1134 msgid "Link with I<-lnuma>."
1135 msgstr "I<-lnuma> とリンクする。"
1136
1137 #. type: Plain text
1138 #: build/C/man2/migrate_pages.2:47
1139 msgid ""
1140 "B<migrate_pages>()  attempts to move all pages of the process I<pid> that "
1141 "are in memory nodes I<old_nodes> to the memory nodes in I<new_nodes>.  Pages "
1142 "not located in any node in I<old_nodes> will not be migrated.  As far as "
1143 "possible, the kernel maintains the relative topology relationship inside "
1144 "I<old_nodes> during the migration to I<new_nodes>."
1145 msgstr ""
1146 "B<MIGRATE_PAGES>() は、メモリノード I<old_nodes> にあるプロセス I<pid>\n"
1147 "の全ページを、メモリノード I<new_nodes> に移動しようとする。I<old_nodes> で\n"
1148 "指定されたメモリノードに置かれていないページは移動されない。\n"
1149 "カーネルは、 I<new_nodes> への移動の際に、 I<old_nodes> 内の相対的な\n"
1150 "トポロジー関係を可能な限り維持しようとする。"
1151
1152 #. type: Plain text
1153 #: build/C/man2/migrate_pages.2:69
1154 msgid ""
1155 "The I<old_nodes> and I<new_nodes> arguments are pointers to bit masks of "
1156 "node numbers, with up to I<maxnode> bits in each mask.  These masks are "
1157 "maintained as arrays of unsigned I<long> integers (in the last I<long> "
1158 "integer, the bits beyond those specified by I<maxnode> are ignored).  The "
1159 "I<maxnode> argument is the maximum node number in the bit mask plus one "
1160 "(this is the same as in B<mbind>(2), but different from B<select>(2))."
1161 msgstr ""
1162 "引き数 I<old_nodes> と I<new_nodes> は、最大で I<maxnode> ビットから\n"
1163 "構成されるノード番号のビットマスクへのポインタである。\n"
1164 "各ビットマスクは符号なし I<long> 整数の配列として管理される\n"
1165 "(I<maxnode> で指定された長さを越えた部分のビットは無視される)。\n"
1166 "引き数 I<maxnode> は最大ノード番号であり、ビットマスクの長さに 1 を\n"
1167 "加えた値となる (これは B<mbind>(2) と同じだが、 B<select>(2) とは違う)。"
1168
1169 #. type: Plain text
1170 #: build/C/man2/migrate_pages.2:83
1171 msgid ""
1172 "The I<pid> argument is the ID of the process whose pages are to be moved.  "
1173 "To move pages in another process, the caller must be privileged "
1174 "(B<CAP_SYS_NICE>)  or the real or effective user ID of the calling process "
1175 "must match the real or saved-set user ID of the target process.  If I<pid> "
1176 "is 0, then B<migrate_pages>()  moves pages of the calling process."
1177 msgstr ""
1178 "引き数 I<pid> は、移動を行うページの所有者のプロセス ID である。\n"
1179 "別のプロセスのページを移動するには、呼び出したプロセスが特権\n"
1180 "(B<CAP_SYS_NICE>) を持っているか、呼び出したプロセスの実ユーザ ID か\n"
1181 "実効ユーザ ID がページ移動の対象プロセスの実ユーザ ID か saved-set \n"
1182 "ユーザ ID と一致していなければならない。I<pid> が 0 の場合、\n"
1183 "B<migrate_pages>() は呼び出したプロセスのページを移動する。"
1184
1185 #. type: Plain text
1186 #: build/C/man2/migrate_pages.2:88
1187 msgid ""
1188 "Pages shared with another process will be moved only if the initiating "
1189 "process has the B<CAP_SYS_NICE> privilege."
1190 msgstr ""
1191 "別のプロセスと共有しているページは、呼び出したプロセスが\n"
1192 "B<CAP_SYS_NICE> 特権を持っている場合にのみ移動される。"
1193
1194 #. type: Plain text
1195 #: build/C/man2/migrate_pages.2:96
1196 msgid ""
1197 "On success B<migrate_pages>()  returns the number of pages that could not be "
1198 "moved (i.e., a return of zero means that all pages were successfully "
1199 "moved).  On error, it returns -1, and sets I<errno> to indicate the error."
1200 msgstr ""
1201 "B<migrate_pages>() は、移動できなかったページ数を返す\n"
1202 "(つまり、移動に成功した場合は返り値は 0 となる)。\n"
1203 "エラーの場合、 -1 を返し、 I<errno> にエラーを示す値を設定する。"
1204
1205 #. type: Plain text
1206 #: build/C/man2/migrate_pages.2:106
1207 msgid ""
1208 "Insufficient privilege (B<CAP_SYS_NICE>)  to move pages of the process "
1209 "specified by I<pid>, or insufficient privilege (B<CAP_SYS_NICE>)  to access "
1210 "the specified target nodes."
1211 msgstr ""
1212 "I<pid> で指定されたプロセスのページを移動するのに必要な特権\n"
1213 "(B<CAP_SYS_NICE>) がなかった。または、指定された対象ノードにアクセス\n"
1214 "するのに必要な権限 (B<CAP_SYS_NICE>) がなかった。"
1215
1216 #. type: TP
1217 #: build/C/man2/migrate_pages.2:106 build/C/man2/move_pages.2:189
1218 #, no-wrap
1219 msgid "B<ESRCH>"
1220 msgstr "B<ESRCH>"
1221
1222 #.  FIXME Document the other errors that can occur for migrate_pages()
1223 #. type: Plain text
1224 #: build/C/man2/migrate_pages.2:112
1225 msgid "No process matching I<pid> could be found."
1226 msgstr "プロセス ID が I<pid> のプロセスが見つからなかった。"
1227
1228 #. type: Plain text
1229 #: build/C/man2/migrate_pages.2:116
1230 msgid ""
1231 "The B<migrate_pages>()  system call first appeared on Linux in version "
1232 "2.6.16."
1233 msgstr "B<migrate_pages>() システムコールは Linux 2.6.16 で初めて登場した。"
1234
1235 #. type: Plain text
1236 #: build/C/man2/migrate_pages.2:130
1237 msgid ""
1238 "Use B<get_mempolicy>(2)  with the B<MPOL_F_MEMS_ALLOWED> flag to obtain the "
1239 "set of nodes that are allowed by the calling process's cpuset.  Note that "
1240 "this information is subject to change at any time by manual or automatic "
1241 "reconfiguration of the cpuset."
1242 msgstr ""
1243 "呼び出し元プロセスの CPU 集合で許可されているノード集合を取得するには、\n"
1244 "B<MPOL_F_MEMS_ALLOWED> フラグを付けて B<get_mempolicy>(2) を使うこと。\n"
1245 "この情報は、手動/自動に限らず CPU 集合の再構成によりいつでも\n"
1246 "変更されることがある点に注意してほしい。"
1247
1248 #. type: Plain text
1249 #: build/C/man2/migrate_pages.2:142
1250 msgid ""
1251 "Use of B<migrate_pages>()  may result in pages whose location (node) "
1252 "violates the memory policy established for the specified addresses (see "
1253 "B<mbind>(2))  and/or the specified process (see B<set_mempolicy>(2)).  That "
1254 "is, memory policy does not constrain the destination nodes used by "
1255 "B<migrate_pages>()."
1256 msgstr ""
1257 "B<migrate_pages> を使用すると、ページが置かれる場所 (ノード) が、指定\n"
1258 "されたアドレスに対して設定されたメモリポリシー (B<mbind>(2) 参照) や\n"
1259 "指定されたプロセスに対して設定されたメモリポリシー\n"
1260 "(B<set_mempolicy>(2) 参照) に違反する状況になる可能性がある。\n"
1261 "すなわち、メモリポリシーによる制約は B<migrate_pages>() による移動先\n"
1262 "ノードの選択には適用されないということである。"
1263
1264 #. type: Plain text
1265 #: build/C/man2/migrate_pages.2:148 build/C/man2/move_pages.2:227
1266 msgid ""
1267 "The I<E<lt>numaif.hE<gt>> header is not included with glibc, but requires "
1268 "installing I<libnuma-devel> or a similar package."
1269 msgstr ""
1270 "ヘッダファイル I<E<lt>numaif.hE<gt>> は glibc には含まれておらず、 I<libnuma-"
1271 "devel> か同様のパッケージをインストールする必要がある。"
1272
1273 #. type: Plain text
1274 #: build/C/man2/migrate_pages.2:158 build/C/man2/move_pages.2:237
1275 msgid ""
1276 "B<get_mempolicy>(2), B<mbind>(2), B<set_mempolicy>(2), B<numa>(3), "
1277 "B<numa_maps>(5), B<cpuset>(7), B<numa>(7), B<migratepages>(8), B<numastat>(8)"
1278 msgstr ""
1279 "B<get_mempolicy>(2), B<mbind>(2), B<set_mempolicy>(2), B<numa>(3), "
1280 "B<numa_maps>(5), B<cpuset>(7), B<numa>(7), B<migratepages>(8), B<numastat>(8)"
1281
1282 #. type: Plain text
1283 #: build/C/man2/migrate_pages.2:161
1284 msgid "I<Documentation/vm/page_migration> in the Linux kernel source tree"
1285 msgstr "Linux カーネルソースの I<Documentation/vm/page_migration>"
1286
1287 #. type: TH
1288 #: build/C/man2/move_pages.2:19
1289 #, no-wrap
1290 msgid "MOVE_PAGES"
1291 msgstr "MOVE_PAGES"
1292
1293 #. type: TH
1294 #: build/C/man2/move_pages.2:19
1295 #, no-wrap
1296 msgid "2010-06-11"
1297 msgstr "2010-06-11"
1298
1299 #. type: Plain text
1300 #: build/C/man2/move_pages.2:22
1301 msgid "move_pages - move individual pages of a process to another node"
1302 msgstr "move_pages - あるプロセスの個々のページを別のノードに移動する"
1303
1304 #. type: Plain text
1305 #: build/C/man2/move_pages.2:28
1306 #, no-wrap
1307 msgid ""
1308 "B<long move_pages(int >I<pid>B<, unsigned long count, void **>I<pages>B<,>\n"
1309 "B<                const int *>I<nodes>B<, int *>I<status>B<, int >I<flags>B<);>\n"
1310 msgstr ""
1311 "B<long move_pages(int >I<pid>B<, unsigned long count, void **>I<pages>B<,>\n"
1312 "B<                const int *>I<nodes>B<, int *>I<status>B<, int >I<flags>B<);>\n"
1313
1314 #. type: Plain text
1315 #: build/C/man2/move_pages.2:44
1316 msgid ""
1317 "B<move_pages>()  moves the specified I<pages> of the process I<pid> to the "
1318 "memory nodes specified by I<nodes>.  The result of the move is reflected in "
1319 "I<status>.  The I<flags> indicate constraints on the pages to be moved."
1320 msgstr ""
1321 "B<move_pages>()  は、プロセス I<pid> の指定されたページ I<pages> を I<nodes> "
1322 "で指定されたメモリノードに移動する。 移動の結果は I<status> に反映される。 "
1323 "I<flags> では移動されるページに関する制約を指定する。"
1324
1325 #. type: Plain text
1326 #: build/C/man2/move_pages.2:57
1327 msgid ""
1328 "I<pid> is the ID of the process in which pages are to be moved.  To move "
1329 "pages in another process, the caller must be privileged (B<CAP_SYS_NICE>)  "
1330 "or the real or effective user ID of the calling process must match the real "
1331 "or saved-set user ID of the target process.  If I<pid> is 0, then "
1332 "B<move_pages>()  moves pages of the calling process."
1333 msgstr ""
1334 "I<pid> は、移動されるページが属するプロセスの ID である。 別のプロセスのペー"
1335 "ジを移動するためには、呼び出し元が特権 (B<CAP_SYS_NICE>)  を持っているか、呼"
1336 "び出したプロセスの実ユーザ ID か実効ユーザ ID が ページ移動対象のプロセスの実"
1337 "ユーザ ID か保存 set-user-ID のどちらかと 一致しなければならない。 I<pid> が "
1338 "0 の場合、 B<move_pages>()  は呼び出したプロセスのページを移動する。"
1339
1340 #. type: Plain text
1341 #: build/C/man2/move_pages.2:65
1342 msgid ""
1343 "I<count> is the number of pages to move.  It defines the size of the three "
1344 "arrays I<pages>, I<nodes>, and I<status>."
1345 msgstr ""
1346 "I<count> は移動するページ数である。 I<count> により I<pages>, I<nodes>, "
1347 "I<status> の 3 つの配列の大きさが定義される。"
1348
1349 #.  FIXME Describe the result if pointers in the 'pages' array are
1350 #.  not aligned to page boundaries
1351 #. type: Plain text
1352 #: build/C/man2/move_pages.2:73
1353 msgid ""
1354 "I<pages> is an array of pointers to the pages that should be moved.  These "
1355 "are pointers that should be aligned to page boundaries.  Addresses are "
1356 "specified as seen by the process specified by I<pid>."
1357 msgstr ""
1358 "I<pages> は、移動すべきページへのポインタの配列であり、 各ポインタはページ境"
1359 "界に揃えた値を指定すべきである。 I<pid> で指定されたプロセスで見えるアドレス"
1360 "を指定する。"
1361
1362 #. type: Plain text
1363 #: build/C/man2/move_pages.2:86
1364 msgid ""
1365 "I<nodes> is an array of integers that specify the desired location for each "
1366 "page.  Each element in the array is a node number.  I<nodes> can also be "
1367 "NULL, in which case B<move_pages>()  does not move any pages but instead "
1368 "will return the node where each page currently resides, in the I<status> "
1369 "array.  Obtaining the status of each page may be necessary to determine "
1370 "pages that need to be moved."
1371 msgstr ""
1372 "I<nodes> は、各ページの希望の移動場所を示す整数値の配列であり、 配列の各要素"
1373 "はノード番号である。 I<nodes> には NULL を指定することもでき、この場合には "
1374 "B<move_pages>()  はどのページも移動しないが、各ページが現在配置されているノー"
1375 "ドを配列 I<status> に格納して返す。どのページを移動する必要があるかを判断する"
1376 "ために、 各ページの状態の取得が必要な場合もある。"
1377
1378 #. type: Plain text
1379 #: build/C/man2/move_pages.2:92
1380 msgid ""
1381 "I<status> is an array of integers that return the status of each page.  The "
1382 "array contains valid values only if B<move_pages>()  did not return an error."
1383 msgstr ""
1384 "I<status> は、各ページの状態を表す整数値の配列である。 この配列に有効な値が格"
1385 "納されるのは、 B<move_pages>()  がエラーを返さなかった場合だけである。"
1386
1387 #. type: Plain text
1388 #: build/C/man2/move_pages.2:104
1389 msgid ""
1390 "I<flags> specify what types of pages to move.  B<MPOL_MF_MOVE> means that "
1391 "only pages that are in exclusive use by the process are to be moved.  "
1392 "B<MPOL_MF_MOVE_ALL> means that pages shared between multiple processes can "
1393 "also be moved.  The process must be privileged (B<CAP_SYS_NICE>)  to use "
1394 "B<MPOL_MF_MOVE_ALL>."
1395 msgstr ""
1396 "I<flags> には、どの種類のページを移動するかを指定する。 B<MPOL_MF_MOVE> は、"
1397 "そのプロセスが排他的に使用しているページだけを移動することを意味する。 "
1398 "B<MPOL_MF_MOVE_ALL> は、複数のプロセス間で共有されているページも移動できるこ"
1399 "とを意味する。 B<MPOL_MF_MOVE_ALL> を使用するためには、そのプロセスが特権 "
1400 "(B<CAP_SYS_NICE>)  を持っていなければならない。"
1401
1402 #. type: SS
1403 #: build/C/man2/move_pages.2:104
1404 #, no-wrap
1405 msgid "Page states in the status array"
1406 msgstr "status 配列に格納されるページ状態"
1407
1408 #. type: Plain text
1409 #: build/C/man2/move_pages.2:108
1410 msgid ""
1411 "The following values can be returned in each element of the I<status> array."
1412 msgstr "I<status> 配列の各要素として、以下の値が返される。"
1413
1414 #. type: TP
1415 #: build/C/man2/move_pages.2:108
1416 #, no-wrap
1417 msgid "B<0..MAX_NUMNODES>"
1418 msgstr "B<0..MAX_NUMNODES>"
1419
1420 #. type: Plain text
1421 #: build/C/man2/move_pages.2:111
1422 msgid "Identifies the node on which the page resides."
1423 msgstr "そのページが配置されているノードを示す。"
1424
1425 #. type: TP
1426 #: build/C/man2/move_pages.2:111
1427 #, no-wrap
1428 msgid "B<-EACCES>"
1429 msgstr "B<-EACCES>"
1430
1431 #. type: Plain text
1432 #: build/C/man2/move_pages.2:116
1433 msgid ""
1434 "The page is mapped by multiple processes and can be moved only if "
1435 "B<MPOL_MF_MOVE_ALL> is specified."
1436 msgstr ""
1437 "そのページは複数のプロセスによりマップされており、 B<MPOL_MF_MOVE_ALL> が指定"
1438 "された場合にのみ移動できる。"
1439
1440 #. type: TP
1441 #: build/C/man2/move_pages.2:116
1442 #, no-wrap
1443 msgid "B<-EBUSY>"
1444 msgstr "B<-EBUSY>"
1445
1446 #. type: Plain text
1447 #: build/C/man2/move_pages.2:122
1448 msgid ""
1449 "The page is currently busy and cannot be moved.  Try again later.  This "
1450 "occurs if a page is undergoing I/O or another kernel subsystem is holding a "
1451 "reference to the page."
1452 msgstr ""
1453 "そのページが現在ビジーであり、移動できない。後でもう一度試すこと。 この状況"
1454 "は、ページが I/O の実行中であったり、カーネルの他のサブシステム がそのページ"
1455 "への参照を保持している場合に発生する。"
1456
1457 #. type: TP
1458 #: build/C/man2/move_pages.2:122
1459 #, no-wrap
1460 msgid "B<-EFAULT>"
1461 msgstr "B<-EFAULT>"
1462
1463 #. type: Plain text
1464 #: build/C/man2/move_pages.2:125
1465 msgid "This is a zero page or the memory area is not mapped by the process."
1466 msgstr ""
1467 "そのページが zero page であるか、そのメモリ領域はそのプロセスにより マップさ"
1468 "れていない。"
1469
1470 #. type: TP
1471 #: build/C/man2/move_pages.2:125
1472 #, no-wrap
1473 msgid "B<-EIO>"
1474 msgstr "B<-EIO>"
1475
1476 #. type: Plain text
1477 #: build/C/man2/move_pages.2:132
1478 msgid ""
1479 "Unable to write back a page.  The page has to be written back in order to "
1480 "move it since the page is dirty and the filesystem does not provide a "
1481 "migration function that would allow the move of dirty pages."
1482 msgstr ""
1483 "ページを書き戻す (write back) ことができない。 ページが dirty で、ファイルシ"
1484 "ステムが dirty なページを移動できるような 移動機能を提供していないため、その"
1485 "ページを移動するためにはページを 書き戻さなければならない。"
1486
1487 #. type: TP
1488 #: build/C/man2/move_pages.2:132
1489 #, no-wrap
1490 msgid "B<-EINVAL>"
1491 msgstr "B<-EINVAL>"
1492
1493 #. type: Plain text
1494 #: build/C/man2/move_pages.2:137
1495 msgid ""
1496 "A dirty page cannot be moved.  The filesystem does not provide a migration "
1497 "function and has no ability to write back pages."
1498 msgstr ""
1499 "dirty なページを移動できない。 ファイルシステムが dirty なページを移動するた"
1500 "めの機能を提供しておらず、 ページを書き戻す能力もない。"
1501
1502 #. type: TP
1503 #: build/C/man2/move_pages.2:137
1504 #, no-wrap
1505 msgid "B<-ENOENT>"
1506 msgstr "B<-ENOENT>"
1507
1508 #. type: Plain text
1509 #: build/C/man2/move_pages.2:140
1510 msgid "The page is not present."
1511 msgstr "ページが存在しない。"
1512
1513 #. type: TP
1514 #: build/C/man2/move_pages.2:140
1515 #, no-wrap
1516 msgid "B<-ENOMEM>"
1517 msgstr "B<-ENOMEM>"
1518
1519 #. type: Plain text
1520 #: build/C/man2/move_pages.2:143
1521 msgid "Unable to allocate memory on target node."
1522 msgstr "移動先のノードでメモリを確保することができない。"
1523
1524 #.  FIXME . Is the following quite true: does the wrapper in numactl
1525 #.  do the right thing?
1526 #. type: Plain text
1527 #: build/C/man2/move_pages.2:152
1528 msgid ""
1529 "On success B<move_pages>()  returns zero.  On error, it returns -1, and sets "
1530 "I<errno> to indicate the error."
1531 msgstr ""
1532 "成功すると、 B<move_pages>()  は 0 を返す。 エラーの場合、-1 を返し、 "
1533 "I<errno> にエラーを示す値を設定する。"
1534
1535 #. type: TP
1536 #: build/C/man2/move_pages.2:153
1537 #, no-wrap
1538 msgid "B<E2BIG>"
1539 msgstr "B<E2BIG>"
1540
1541 #. type: Plain text
1542 #: build/C/man2/move_pages.2:156
1543 msgid "Too many pages to move."
1544 msgstr "移動すべきページが多過ぎる。"
1545
1546 #. type: TP
1547 #: build/C/man2/move_pages.2:156
1548 #, no-wrap
1549 msgid "B<EACCES>"
1550 msgstr "B<EACCES>"
1551
1552 #.  FIXME Clarify "current cpuset" in the description of the EACCESS error.
1553 #.  Is that the cpuset of the caller or the target?
1554 #. type: Plain text
1555 #: build/C/man2/move_pages.2:161
1556 msgid "One of the target nodes is not allowed by the current cpuset."
1557 msgstr "移動先のノードのいずれかが現在の CPU 集合では許可されていない。"
1558
1559 #. type: Plain text
1560 #: build/C/man2/move_pages.2:164
1561 msgid "Parameter array could not be accessed."
1562 msgstr "パラメータ配列にアクセスできなかった。"
1563
1564 #. type: Plain text
1565 #: build/C/man2/move_pages.2:171
1566 msgid ""
1567 "Flags other than B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> was specified or an "
1568 "attempt was made to migrate pages of a kernel thread."
1569 msgstr ""
1570 "I<flags> に B<MPOL_MF_MOVE> でも B<MPOL_MF_MOVE_ALL> でもない値が指定された"
1571 "か、カーネルスレッドのページを移動させようとした。"
1572
1573 #. type: TP
1574 #: build/C/man2/move_pages.2:171
1575 #, no-wrap
1576 msgid "B<ENODEV>"
1577 msgstr "B<ENODEV>"
1578
1579 #. type: Plain text
1580 #: build/C/man2/move_pages.2:174
1581 msgid "One of the target nodes is not online."
1582 msgstr "移動先のノードのいずれかがオンラインでない。"
1583
1584 #. type: TP
1585 #: build/C/man2/move_pages.2:174
1586 #, no-wrap
1587 msgid "B<ENOENT>"
1588 msgstr "B<ENOENT>"
1589
1590 #. type: Plain text
1591 #: build/C/man2/move_pages.2:180
1592 msgid ""
1593 "No pages were found that require moving.  All pages are either already on "
1594 "the target node, not present, had an invalid address or could not be moved "
1595 "because they were mapped by multiple processes."
1596 msgstr ""
1597 "移動が必要なページが全く見つからなかった。 指定された全てのページが、すでに移"
1598 "動先のノードに存在するか、存在しないか、 無効なアドレスであったか、複数のプロ"
1599 "セスによってマップされていて移動でき なかったか、のいずれかであった。"
1600
1601 #. type: Plain text
1602 #: build/C/man2/move_pages.2:189
1603 msgid ""
1604 "The caller specified B<MPOL_MF_MOVE_ALL> without sufficient privileges "
1605 "(B<CAP_SYS_NICE>).  Or, the caller attempted to move pages of a process "
1606 "belonging to another user but did not have privilege to do so "
1607 "(B<CAP_SYS_NICE>)."
1608 msgstr ""
1609 "呼び出し元は B<MPOL_MF_MOVE_ALL> を指定したが、十分な特権 (B<CAP_SYS_NICE>)  "
1610 "を持っていない。 または、呼び出し元が他のユーザに属するプロセスのページを移動"
1611 "しようとしたが、 それを行えるだけの特権 (B<CAP_SYS_NICE>)  を持っていなかっ"
1612 "た。"
1613
1614 #. type: Plain text
1615 #: build/C/man2/move_pages.2:192
1616 msgid "Process does not exist."
1617 msgstr "プロセスが存在しない。"
1618
1619 #. type: Plain text
1620 #: build/C/man2/move_pages.2:195
1621 msgid "B<move_pages>()  first appeared on Linux in version 2.6.18."
1622 msgstr "B<move_pages>()  は、バージョン 2.6.18 で初めて Linux に登場した。"
1623
1624 #.  FIXME Clarify "current cpuset".  Is that the cpuset of the caller
1625 #.  or the target?
1626 #. type: Plain text
1627 #: build/C/man2/move_pages.2:211
1628 msgid ""
1629 "Use B<get_mempolicy>(2)  with the B<MPOL_F_MEMS_ALLOWED> flag to obtain the "
1630 "set of nodes that are allowed by the current cpuset.  Note that this "
1631 "information is subject to change at any time by manual or automatic "
1632 "reconfiguration of the cpuset."
1633 msgstr ""
1634 "現在の CPU 集合で許可されているノードの集合を取得するには、フラグ "
1635 "B<MPOL_F_MEMS_ALLOWED> を指定して B<get_mempolicy>(2)  を使用すればよい。 取"
1636 "得した情報は、CPU 集合の手動または自動での再構成により いつ何時変化してしまう"
1637 "か分からない。"
1638
1639 #. type: Plain text
1640 #: build/C/man2/move_pages.2:221
1641 msgid ""
1642 "Use of this function may result in pages whose location (node) violates the "
1643 "memory policy established for the specified addresses (See B<mbind>(2))  and/"
1644 "or the specified process (See B<set_mempolicy>(2)).  That is, memory policy "
1645 "does not constrain the destination nodes used by B<move_pages>()."
1646 msgstr ""
1647 "この関数を使用すると、ページの位置 (ノード) が 指定されたアドレスに対して設定"
1648 "されたメモリポリシー (B<mbind>(2)  参照) や指定されたプロセスに対して設定され"
1649 "たメモリポリシー (B<set_mempolicy>(2)  参照) に違反してしまう可能性がある。 "
1650 "つまり、メモリポリシーは B<move_pages>()  で使われる移動先ノードを制限しない"
1651 "ということである。"
1652
1653 #. type: TH
1654 #: build/C/man7/numa.7:29
1655 #, no-wrap
1656 msgid "NUMA"
1657 msgstr "NUMA"
1658
1659 #. type: TH
1660 #: build/C/man7/numa.7:29
1661 #, no-wrap
1662 msgid "2012-08-05"
1663 msgstr "2012-08-05"
1664
1665 #. type: Plain text
1666 #: build/C/man7/numa.7:32
1667 msgid "numa - overview of Non-Uniform Memory Architecture"
1668 msgstr "numa - 非対称型メモリアーキテクチャの概要"
1669
1670 #. type: Plain text
1671 #: build/C/man7/numa.7:43
1672 msgid ""
1673 "Non-Uniform Memory Access (NUMA) refers to multiprocessor systems whose "
1674 "memory is divided into multiple memory nodes.  The access time of a memory "
1675 "node depends on the relative locations of the accessing CPU and the accessed "
1676 "node.  (This contrasts with a symmetric multiprocessor system, where the "
1677 "access time for all of the memory is the same for all CPUs.)  Normally, each "
1678 "CPU on a NUMA system has a local memory node whose contents can be accessed "
1679 "faster than the memory in the node local to another CPU or the memory on a "
1680 "bus shared by all CPUs."
1681 msgstr ""
1682 "非対称型メモリアクセス (Non-Uniform Memory Access; NUMA) は、\n"
1683 "メモリが複数のメモリノードに分割されているマルチプロセッサシステム\n"
1684 "のことである。メモリノードへのアクセス時間は、アクセス元の CPU と\n"
1685 "アクセス先のノードの相対的な位置関係に依存する\n"
1686 "(これに対し、対称型マルチプロセッサシステムでは、どの CPU から\n"
1687 "どのメモリへのアクセス時間も同じである)。\n"
1688 "通常は、 NUMA システムの各 CPU にはローカルのメモリノードがあり、\n"
1689 "そのメモリノードには、他の CPU のローカルノードや全ての CPU で\n"
1690 "共有されるバス上のメモリよりも早くアクセスすることができる。"
1691
1692 #. type: SS
1693 #: build/C/man7/numa.7:43
1694 #, no-wrap
1695 msgid "NUMA system calls"
1696 msgstr "NUMA システムコール"
1697
1698 #. type: Plain text
1699 #: build/C/man7/numa.7:54
1700 msgid ""
1701 "The Linux kernel implements the following NUMA-related system calls: "
1702 "B<get_mempolicy>(2), B<mbind>(2), B<migrate_pages>(2), B<move_pages>(2), and "
1703 "B<set_mempolicy>(2).  However, applications should normally use the "
1704 "interface provided by I<libnuma>; see \"Library Support\" below."
1705 msgstr ""
1706 "Linux カーネルには、次に示す NUMA 関連のシステムコールが実装されている:\n"
1707 "B<get_mempolicy>(2), B<mbind>(2), B<migrate_pages>(2),\n"
1708 "B<move_pages>(2), B<set_mempolicy>(2).\n"
1709 "ただし、アプリケーションは通常は I<libnuma> が提供するインターフェース\n"
1710 "を使用すべきである。下記の「ライブラリによるサポート」を参照。"
1711
1712 #. type: SS
1713 #: build/C/man7/numa.7:54
1714 #, no-wrap
1715 msgid "/proc/[number]/numa_maps (since Linux 2.6.14)"
1716 msgstr "/proc/[number]/numa_maps (Linux 2.6.14 以降)"
1717
1718 #.  See also Changelog-2.6.14
1719 #. type: Plain text
1720 #: build/C/man7/numa.7:58
1721 msgid ""
1722 "This file displays information about a process's NUMA memory policy and "
1723 "allocation."
1724 msgstr ""
1725 "このファイルは、プロセスの NUMA メモリポリシーと割り当てに関する\n"
1726 "情報を表示する。"
1727
1728 #. type: Plain text
1729 #: build/C/man7/numa.7:62
1730 msgid ""
1731 "Each line contains information about a memory range used by the process, "
1732 "displaying\\(emamong other information\\(emthe effective memory policy for "
1733 "that memory range and on which nodes the pages have been allocated."
1734 msgstr ""
1735 "各行に、そのプロセスが使用しているメモリ領域に関する情報が表示される。その他"
1736 "の情報 \\(em そのメモリ領域に適用されているメモリポリシーや、そのページがどの"
1737 "ノード上に割り当てられているか、など \\(em もあわせて表示される。"
1738
1739 #. type: Plain text
1740 #: build/C/man7/numa.7:70
1741 msgid ""
1742 "I<numa_maps> is a read-only file.  When I</proc/E<lt>pidE<gt>/numa_maps> is "
1743 "read, the kernel will scan the virtual address space of the process and "
1744 "report how memory is used.  One line is displayed for each unique memory "
1745 "range of the process."
1746 msgstr ""
1747 "I<numa_maps> は読み出し専用のファイルである。 I</proc/E<lt>pidE<gt>/"
1748 "numa_maps> から読み出しが行われると、 カーネルはそのプロセスの仮想アドレス空"
1749 "間をスキャンし、 メモリの使用状況を報告する。\n"
1750 "プロセスのメモリ領域の情報が 1 行に 1 領域で表示される。"
1751
1752 #. type: Plain text
1753 #: build/C/man7/numa.7:77
1754 msgid ""
1755 "The first field of each line shows the starting address of the memory "
1756 "range.  This field allows a correlation with the contents of the I</proc/"
1757 "E<lt>pidE<gt>/maps> file, which contains the end address of the range and "
1758 "other information, such as the access permissions and sharing."
1759 msgstr ""
1760 "各行の最初のフィールドはメモリ領域の開始アドレスを示す。 このフィールドは I</"
1761 "proc/E<lt>pidE<gt>/maps> ファイルの内容と対応している。 I</proc/"
1762 "E<lt>pidE<gt>/maps> には、メモリ領域の末尾のアドレスや、アクセス許可や共有と"
1763 "いった他の情報も含まれる。"
1764
1765 #. type: Plain text
1766 #: build/C/man7/numa.7:85
1767 msgid ""
1768 "The second field shows the memory policy currently in effect for the memory "
1769 "range.  Note that the effective policy is not necessarily the policy "
1770 "installed by the process for that memory range.  Specifically, if the "
1771 "process installed a \"default\" policy for that range, the effective policy "
1772 "for that range will be the process policy, which may or may not be \"default"
1773 "\"."
1774 msgstr ""
1775 "2 番目のフィールドは、 そのメモリ領域に現在適用されているメモリポリシーを示"
1776 "す。 適用されているポリシーは、 必ずしもそのプロセスがこのメモリ領域に対して"
1777 "設定したポリシーとは限らない点に注意すること。\n"
1778 "特に、 プロセスがその領域に対して「デフォルト」ポリシーを設定した場合、その領"
1779 "域に適用されるポリシーはプロセスのポリシーとなり、それが「デフォルト」ポリ"
1780 "シーとなる場合もあればそうでない場合もある。"
1781
1782 #. type: Plain text
1783 #: build/C/man7/numa.7:88
1784 msgid ""
1785 "The rest of the line contains information about the pages allocated in the "
1786 "memory range, as follows:"
1787 msgstr ""
1788 "行の残りの部分には、そのメモリ領域に割り当てられたページに関する情報が入る。"
1789 "以下に詳細を示す。"
1790
1791 #. type: TP
1792 #: build/C/man7/numa.7:88
1793 #, no-wrap
1794 msgid "I<NE<lt>nodeE<gt>=E<lt>nr_pagesE<gt>>"
1795 msgstr "I<NE<lt>nodeE<gt>=E<lt>nr_pagesE<gt>>"
1796
1797 #. type: Plain text
1798 #: build/C/man7/numa.7:101
1799 msgid ""
1800 "The number of pages allocated on I<E<lt>nodeE<gt>>.  I<E<lt>nr_pagesE<gt>> "
1801 "includes only pages currently mapped by the process.  Page migration and "
1802 "memory reclaim may have temporarily unmapped pages associated with this "
1803 "memory range.  These pages may show up again only after the process has "
1804 "attempted to reference them.  If the memory range represents a shared memory "
1805 "area or file mapping, other processes may currently have additional pages "
1806 "mapped in a corresponding memory range."
1807 msgstr ""
1808 "I<E<lt>nodeE<gt>> に割り当てられているページ数。 I<E<lt>nr_pagesE<gt>> に"
1809 "は、 そのプロセスが現在マッピングしているページだけが含まれる。 ページの移動"
1810 "やメモリの再利用により、 このメモリ領域に関連付けられているが、 一時的にマッ"
1811 "ピングされていないページが存在する場合がある。 プロセスがそれらのページを参照"
1812 "しようとした後には、 これらのページは再び現れる可能性がある。 メモリ領域が共"
1813 "有メモリやファイルマッピングの場合には、 そのメモリ領域内に別のページを他のプ"
1814 "ロセスがマッピングしている場合もある。"
1815
1816 #. type: TP
1817 #: build/C/man7/numa.7:101
1818 #, no-wrap
1819 msgid "I<file=E<lt>filenameE<gt>>"
1820 msgstr "I<file=E<lt>filenameE<gt>>"
1821
1822 #. type: Plain text
1823 #: build/C/man7/numa.7:107
1824 msgid ""
1825 "The file backing the memory range.  If the file is mapped as private, write "
1826 "accesses may have generated COW (Copy-On-Write) pages in this memory range.  "
1827 "These pages are displayed as anonymous pages."
1828 msgstr ""
1829 "そのメモリ領域に関連付けられているファイル。 ファイルがプライベート (非公開) "
1830 "でマッピングされている場合、 書き込みアクセスがあると、 このメモリ領域に書き"
1831 "込み時コピー (Copy-On-Write) ページが生成されることがある。 これらのページは"
1832 "無名ページ (anonymous page) として表示される。"
1833
1834 #. type: TP
1835 #: build/C/man7/numa.7:107
1836 #, no-wrap
1837 msgid "I<heap>"
1838 msgstr "I<heap>"
1839
1840 #. type: Plain text
1841 #: build/C/man7/numa.7:110
1842 msgid "Memory range is used for the heap."
1843 msgstr "ヒープに使用されているメモリ範囲。"
1844
1845 #. type: TP
1846 #: build/C/man7/numa.7:110
1847 #, no-wrap
1848 msgid "I<stack>"
1849 msgstr "I<stack>"
1850
1851 #. type: Plain text
1852 #: build/C/man7/numa.7:113
1853 msgid "Memory range is used for the stack."
1854 msgstr "スタックに使用されているメモリ範囲。"
1855
1856 #. type: TP
1857 #: build/C/man7/numa.7:113
1858 #, no-wrap
1859 msgid "I<huge>"
1860 msgstr "I<huge>"
1861
1862 #. type: Plain text
1863 #: build/C/man7/numa.7:117
1864 msgid ""
1865 "Huge memory range.  The page counts shown are huge pages and not regular "
1866 "sized pages."
1867 msgstr ""
1868 "ヒュージメモリの範囲。表示されるページ数は、\n"
1869 "通常の大きさのページではなく、ヒュージページの数である。"
1870
1871 #. type: TP
1872 #: build/C/man7/numa.7:117
1873 #, no-wrap
1874 msgid "I<anon=E<lt>pagesE<gt>>"
1875 msgstr "I<anon=E<lt>pagesE<gt>>"
1876
1877 #. type: Plain text
1878 #: build/C/man7/numa.7:120
1879 msgid "The number of anonymous page in the range."
1880 msgstr "メモリ範囲内の無名ページ (anonymous page) の数。"
1881
1882 #. type: TP
1883 #: build/C/man7/numa.7:120
1884 #, no-wrap
1885 msgid "I<dirty=E<lt>pagesE<gt>>"
1886 msgstr "I<dirty=E<lt>pagesE<gt>>"
1887
1888 #. type: Plain text
1889 #: build/C/man7/numa.7:123
1890 msgid "Number of dirty pages."
1891 msgstr "dirty (変更された) ページの数。"
1892
1893 #. type: TP
1894 #: build/C/man7/numa.7:123
1895 #, no-wrap
1896 msgid "I<mapped=E<lt>pagesE<gt>>"
1897 msgstr "I<mapped=E<lt>pagesE<gt>>"
1898
1899 #. type: Plain text
1900 #: build/C/man7/numa.7:130
1901 msgid ""
1902 "Total number of mapped pages, if different from I<dirty> and I<anon> pages."
1903 msgstr ""
1904 "マッピングされているページ数。 I<dirty> および I<anon> のページ数と異なる値の"
1905 "場合に表示される。"
1906
1907 #. type: TP
1908 #: build/C/man7/numa.7:130
1909 #, no-wrap
1910 msgid "I<mapmax=E<lt>countE<gt>>"
1911 msgstr "I<mapmax=E<lt>countE<gt>>"
1912
1913 #. type: Plain text
1914 #: build/C/man7/numa.7:136
1915 msgid ""
1916 "Maximum mapcount (number of processes mapping a single page) encountered "
1917 "during the scan.  This may be used as an indicator of the degree of sharing "
1918 "occurring in a given memory range."
1919 msgstr ""
1920 "スキャン中に検出した mapcount (一つのページをマッピングしているプロセス数) の"
1921 "最大値。 この値は、 そのメモリ領域でどの程度の共有が行われているかの指標とし"
1922 "て使うことができる。"
1923
1924 #. type: TP
1925 #: build/C/man7/numa.7:136
1926 #, no-wrap
1927 msgid "I<swapcache=E<lt>countE<gt>>"
1928 msgstr "I<swapcache=E<lt>countE<gt>>"
1929
1930 #. type: Plain text
1931 #: build/C/man7/numa.7:139
1932 msgid "Number of pages that have an associated entry on a swap device."
1933 msgstr "スワップデバイスに対応するエントリーが存在するページ数。"
1934
1935 #. type: TP
1936 #: build/C/man7/numa.7:139
1937 #, no-wrap
1938 msgid "I<active=E<lt>pagesE<gt>>"
1939 msgstr "I<active=E<lt>pagesE<gt>>"
1940
1941 #. type: Plain text
1942 #: build/C/man7/numa.7:145
1943 msgid ""
1944 "The number of pages on the active list.  This field is shown only if "
1945 "different from the number of pages in this range.  This means that some "
1946 "inactive pages exist in the memory range that may be removed from memory by "
1947 "the swapper soon."
1948 msgstr ""
1949 "アクティブリストに入っているページ数。 このフィールドが表示されるのは、 値が"
1950 "このメモリ領域のページ数と異なる場合だけである。このフィールドが表示されると"
1951 "いうことは、 このメモリ領域に、まもなくスワッパ (swapper) によりこの領域から"
1952 "削除される可能性がある inactive なページが存在することを意味する。"
1953
1954 #. type: TP
1955 #: build/C/man7/numa.7:145
1956 #, no-wrap
1957 msgid "I<writeback=E<lt>pagesE<gt>>"
1958 msgstr "I<writeback=E<lt>pagesE<gt>>"
1959
1960 #. type: Plain text
1961 #: build/C/man7/numa.7:148
1962 msgid "Number of pages that are currently being written out to disk."
1963 msgstr "現在ディスクに書き出されているページ数。"
1964
1965 #. type: Plain text
1966 #: build/C/man7/numa.7:150
1967 msgid "No standards govern NUMA interfaces."
1968 msgstr "NUMA インターフェースについて規定している標準はない。"
1969
1970 #. type: Plain text
1971 #: build/C/man7/numa.7:157
1972 msgid ""
1973 "The Linux NUMA system calls and I</proc> interface are available only if the "
1974 "kernel was configured and built with the B<CONFIG_NUMA> option."
1975 msgstr ""
1976 "Linux の NUMA システムコールと I</proc> インターフェースは、カーネルが\n"
1977 "設定オプション B<CONFIG_NUMA> を有効にして作成されている場合のみ、利用\n"
1978 "可能である。"
1979
1980 #. type: SS
1981 #: build/C/man7/numa.7:157
1982 #, no-wrap
1983 msgid "Library support"
1984 msgstr "ライブラリによるサポート"
1985
1986 #. type: Plain text
1987 #: build/C/man7/numa.7:166
1988 msgid ""
1989 "Link with I<-lnuma> to get the system call definitions.  I<libnuma> and the "
1990 "required I<E<lt>numaif.hE<gt>> header are available in the I<numactl> "
1991 "package."
1992 msgstr ""
1993 "システムコールの定義を得るには I<-lnuma> でリンクすること。\n"
1994 "I<libnuma> と必要なヘッダファイル I<E<lt>numaif.hE<gt>> は\n"
1995 "I<numactl> パッケージで提供されている。"
1996
1997 #. type: Plain text
1998 #: build/C/man7/numa.7:183
1999 msgid ""
2000 "However, applications should not use these system calls directly.  Instead, "
2001 "the higher level interface provided by the B<numa>(3)  functions in the "
2002 "I<numactl> package is recommended.  The I<numactl> package is available at "
2003 "E<.UR ftp://oss.sgi.com\\:/www\\:/projects\\:/libnuma\\:/download/> E<.UE .> "
2004 "The package is also included in some Linux distributions.  Some "
2005 "distributions include the development library and header in the separate "
2006 "I<numactl-devel> package."
2007 msgstr ""
2008 "ただし、アプリケーションはこれらのシステムコールを直接利用すべきでない。\n"
2009 "推奨される方法は、I<numactl> パッケージの B<numa>(3) の関数群が提供する\n"
2010 "高レベルインターフェースの利用である。 I<numactl> パッケージは\n"
2011 "E<.UR ftp://oss.sgi.com\\:/www\\:/projects\\:/libnuma\\:/download/> E<.UE> で"
2012 "入手できる。\n"
2013 "このパッケージが収録されている Linux ディストリビューションもある。\n"
2014 "ディストリビューションによっては、開発用のライブラリとヘッダファイルは\n"
2015 "別パッケージ I<numactl-devel> で提供されている。"
2016
2017 #. type: Plain text
2018 #: build/C/man7/numa.7:191
2019 msgid ""
2020 "B<get_mempolicy>(2), B<mbind>(2), B<move_pages>(2), B<set_mempolicy>(2), "
2021 "B<numa>(3), B<cpuset>(7), B<numactl>(8)"
2022 msgstr ""
2023 "B<get_mempolicy>(2), B<mbind>(2), B<move_pages>(2), B<set_mempolicy>(2), "
2024 "B<numa>(3), B<cpuset>(7), B<numactl>(8)"
2025
2026 #. type: TH
2027 #: build/C/man2/set_mempolicy.2:27
2028 #, no-wrap
2029 msgid "SET_MEMPOLICY"
2030 msgstr "SET_MEMPOLICY"
2031
2032 #. type: TH
2033 #: build/C/man2/set_mempolicy.2:27
2034 #, no-wrap
2035 msgid "2014-05-28"
2036 msgstr "2014-05-28"
2037
2038 #. type: Plain text
2039 #: build/C/man2/set_mempolicy.2:30
2040 msgid ""
2041 "set_mempolicy - set default NUMA memory policy for a process and its children"
2042 msgstr ""
2043 "set_mempolicy - プロセスとその子プロセスの NUMA メモリの デフォルトポリシーを"
2044 "設定する"
2045
2046 #. type: Plain text
2047 #: build/C/man2/set_mempolicy.2:36
2048 #, no-wrap
2049 msgid ""
2050 "B<long set_mempolicy(int >I<mode>B<, const unsigned long *>I<nodemask>B<,>\n"
2051 "B<                   unsigned long >I<maxnode>B<);>\n"
2052 msgstr ""
2053 "B<long set_mempolicy(int >I<mode>B<, const unsigned long *>I<nodemask>B<,>\n"
2054 "B<                   unsigned long >I<maxnode>B<);>\n"
2055
2056 #. type: Plain text
2057 #: build/C/man2/set_mempolicy.2:49
2058 msgid ""
2059 "B<set_mempolicy>()  sets the NUMA memory policy of the calling process, "
2060 "which consists of a policy mode and zero or more nodes, to the values "
2061 "specified by the I<mode>, I<nodemask> and I<maxnode> arguments."
2062 msgstr ""
2063 "B<set_mempolicy>()  は、呼び出し元プロセスの NUMA ポリシーを I<policy> に設定"
2064 "する。 NUMA ポリシーはポリシーモードと 0 個以上のノードから構成され、 設定内"
2065 "容は引き数 I<mode>, I<nodemask>, I<maxnode> により指定される。"
2066
2067 #. type: Plain text
2068 #: build/C/man2/set_mempolicy.2:75
2069 msgid ""
2070 "This system call defines the default policy for the process.  The process "
2071 "policy governs allocation of pages in the process's address space outside of "
2072 "memory ranges controlled by a more specific policy set by B<mbind>(2).  The "
2073 "process default policy also controls allocation of any pages for memory-"
2074 "mapped files mapped using the B<mmap>(2)  call with the B<MAP_PRIVATE> flag "
2075 "and that are only read [loaded] from by the process and of memory-mapped "
2076 "files mapped using the B<mmap>(2)  call with the B<MAP_SHARED> flag, "
2077 "regardless of the access type.  The policy is applied only when a new page "
2078 "is allocated for the process.  For anonymous memory this is when the page is "
2079 "first touched by the application."
2080 msgstr ""
2081 "B<set_mempolicy>()  は、プロセスのデフォルトポリシーを定める。 プロセスのポリ"
2082 "シーは、 B<mbind>(2)  で設定される特定のポリシーにより制御されるメモリ領域以"
2083 "外の プロセスのアドレス空間におけるページの割り当てに適用される。 プロセスの"
2084 "デフォルトポリシーは、 B<MAP_PRIVATE> フラグを指定した B<mmap>(2)  を使って"
2085 "マップされたメモリマップ・ファイルに対する読み出し専用 (ロードされるだけ) の"
2086 "ページの割り当てにも適用される。 また、 B<MAP_SHARED> フラグを指定した "
2087 "B<mmap>(2)  を使ってマップされたメモリマップ・ファイルに対するページの割り当"
2088 "てにも 適用される (この場合はページのアクセス種別に関わらず適用される) 。 設"
2089 "定したポリシーは、プロセスに新規のページが割り当てられるときにのみ 適用され"
2090 "る。無名メモリ (anonymous memory) の場合、新規ページの割り当ては アプリケー"
2091 "ションが初めてページにアクセスした際に行われる。"
2092
2093 #. type: Plain text
2094 #: build/C/man2/set_mempolicy.2:89
2095 msgid ""
2096 "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
2097 "B<MPOL_INTERLEAVE>, or B<MPOL_PREFERRED>.  All modes except B<MPOL_DEFAULT> "
2098 "require the caller to specify via the I<nodemask> argument one or more nodes."
2099 msgstr ""
2100 "I<mode> 引き数には B<MPOL_DEFAULT>, B<MPOL_BIND>, B<MPOL_INTERLEAVE>, "
2101 "B<MPOL_PREFERRED> のいずれか一つを指定してしなければならない。 "
2102 "B<MPOL_DEFAULT> 以外のポリシーの場合、呼び出し元は I<nodemask> 引き数で一つ以"
2103 "上のノードを指定する必要がある。"
2104
2105 #. type: Plain text
2106 #: build/C/man2/set_mempolicy.2:97
2107 msgid ""
2108 "The I<mode> argument may also include an optional I<mode flag>.  The "
2109 "supported I<mode flags> are:"
2110 msgstr ""
2111 "I<mode> 引き数には、追加で I<モードフラグ> を含めることもできる。 サポートさ"
2112 "れている I<モードフラグ> は以下の通りである。"
2113
2114 #. type: TP
2115 #: build/C/man2/set_mempolicy.2:97
2116 #, no-wrap
2117 msgid "B<MPOL_F_STATIC_NODES> (since Linux 2.6.26)"
2118 msgstr "B<MPOL_F_STATIC_NODES> (Linux 2.6.26 以降)"
2119
2120 #. type: Plain text
2121 #: build/C/man2/set_mempolicy.2:107
2122 msgid ""
2123 "A nonempty I<nodemask> specifies physical node ids.  Linux will not remap "
2124 "the I<nodemask> when the process moves to a different cpuset context, nor "
2125 "when the set of nodes allowed by the process's current cpuset context "
2126 "changes."
2127 msgstr ""
2128 "空でない I<nodemask> は、物理ノード ID である。 Linux では、そのプロセスが異"
2129 "なる CPU 集合コンテキスト (cpuset context)  に移動した場合でも、そのプロセス"
2130 "の現在の CPU 集合コンテキストで 許可されているノード集合が変化した場合でも、 "
2131 "I<nodemask> をマッピングし直すことはない。"
2132
2133 #. type: TP
2134 #: build/C/man2/set_mempolicy.2:107
2135 #, no-wrap
2136 msgid "B<MPOL_F_RELATIVE_NODES> (since Linux 2.6.26)"
2137 msgstr "B<MPOL_F_RELATIVE_NODES> (Linux 2.6.26 以降)"
2138
2139 #. type: Plain text
2140 #: build/C/man2/set_mempolicy.2:133
2141 msgid ""
2142 "I<nodemask> points to a bit mask of node IDs that contains up to I<maxnode> "
2143 "bits.  The bit mask size is rounded to the next multiple of "
2144 "I<sizeof(unsigned long)>, but the kernel will use bits only up to "
2145 "I<maxnode>.  A NULL value of I<nodemask> or a I<maxnode> value of zero "
2146 "specifies the empty set of nodes.  If the value of I<maxnode> is zero, the "
2147 "I<nodemask> argument is ignored."
2148 msgstr ""
2149 "I<nodemask> は、最大で I<maxnode> ビットから構成されるノード ID のビットマス"
2150 "クを指す。 ビットマスクの大きさは、直近の I<sizeof(unsigned long)> の倍数に切"
2151 "り上げられるが、カーネルが使用するのは I<maxnode> 個までのビットだけである。 "
2152 "NULL 値の I<nodemask> もしくは値が 0 の I<maxnode> はノードの空集合を表す。 "
2153 "I<maxnode> の値が 0 の場合、 I<nodemask> 引き数は無視される。"
2154
2155 #. type: Plain text
2156 #: build/C/man2/set_mempolicy.2:154
2157 msgid ""
2158 "Where a I<nodemask> is required, it must contain at least one node that is "
2159 "on-line, allowed by the process's current cpuset context, [unless the "
2160 "B<MPOL_F_STATIC_NODES> mode flag is specified], and contains memory.  If the "
2161 "B<MPOL_F_STATIC_NODES> is set in I<mode> and a required I<nodemask> contains "
2162 "no nodes that are allowed by the process's current cpuset context, the "
2163 "memory policy reverts to I<local allocation>.  This effectively overrides "
2164 "the specified policy until the process's cpuset context includes one or more "
2165 "of the nodes specified by I<nodemask>."
2166 msgstr ""
2167 "I<nodemask> が必須の場面では、 I<nodemask> に、オンラインで、そのプロセスの現"
2168 "在の CPU 集合コンテキストで 許可されており (B<MPOL_F_STATIC_NODES> モードフラ"
2169 "グが指定されていない場合)、メモリがあるノードが 少なくとも一つ入っていなけれ"
2170 "ばならない。 I<mode> に B<MPOL_F_STATIC_NODES> がセットされ、 I<nodemask> が"
2171 "必須の場面で、 I<nodemask> に、そのプロセスの現在の CPU 集合コンテキストで許"
2172 "可されたノードが 一つも含まれていない場合には、メモリのポリシーとしてデフォル"
2173 "トの 「ローカルから割り当て (local allocation)」が適用される。 そのプロセス"
2174 "の CPU 集合コンテキストが I<nodemask> で指定されたノードを少なくとも一つ含む"
2175 "ようになるまでは、 結果的に指定された動作が上書きされることになる。"
2176
2177 #. type: Plain text
2178 #: build/C/man2/set_mempolicy.2:165
2179 msgid ""
2180 "The B<MPOL_DEFAULT> mode specifies that any nondefault process memory policy "
2181 "be removed, so that the memory policy \"falls back\" to the system default "
2182 "policy.  The system default policy is \"local allocation\"\\(emthat is, "
2183 "allocate memory on the node of the CPU that triggered the allocation.  "
2184 "I<nodemask> must be specified as NULL.  If the \"local node\" contains no "
2185 "free memory, the system will attempt to allocate memory from a \"near by\" "
2186 "node."
2187 msgstr ""
2188 "B<MPOL_DEFAULT> モードは、デフォルトではないプロセスのメモリポリシーを削除す"
2189 "ることを 指定するものである。これにより、メモリポリシーはシステムの デフォル"
2190 "トポリシーに「戻る」ことになる。 システムのデフォルトポリシーは「ローカルから"
2191 "の割り当て (local allocation)」、 つまりメモリ割り当てのきっかけとなった CPU "
2192 "のノードのメモリが割り当てられる。 I<nodemask> には NULL を指定しなければなら"
2193 "ない。 「自ノード (local node)」に空きメモリが全くない場合、システムは 「近く"
2194 "の (near by) ノード」からメモリを割り当てようと試みる。"
2195
2196 #. type: Plain text
2197 #: build/C/man2/set_mempolicy.2:182
2198 msgid ""
2199 "The B<MPOL_BIND> mode defines a strict policy that restricts memory "
2200 "allocation to the nodes specified in I<nodemask>.  If I<nodemask> specifies "
2201 "more than one node, page allocations will come from the node with the lowest "
2202 "numeric node ID first, until that node contains no free memory.  Allocations "
2203 "will then come from the node with the next highest node ID specified in "
2204 "I<nodemask> and so forth, until none of the specified nodes contain free "
2205 "memory.  Pages will not be allocated from any node not specified in the "
2206 "I<nodemask>."
2207 msgstr ""
2208 "B<MPOL_BIND> モードは厳密なポリシーで、メモリ割り当ては I<nodemask> に指定さ"
2209 "れたノードに限定される。 I<nodemask> に 2 個以上のノードが指定された場合、"
2210 "ページの割り当ては ノード ID が数字として最小のノードから開始され、 そのノー"
2211 "ドに空きメモリがなくなるまでそのノードから ページ割り当てが行われる。そのノー"
2212 "ドに空きメモリがなくなったら、 次に小さなノード ID を持つノードからページ割り"
2213 "当てが行われる。 これを、 I<nodemask> で指定された全てのノードで空きメモリが"
2214 "なくなるまで繰り返す。 I<nodemask> で指定された以外のノードからはページの割り"
2215 "当ては行われない。"
2216
2217 #.  NOTE:  the following sentence doesn't make sense in the context
2218 #.  of set_mempolicy() -- no memory area specified.
2219 #.  To be effective the memory area should be fairly large,
2220 #.  at least 1MB or bigger.
2221 #. type: Plain text
2222 #: build/C/man2/set_mempolicy.2:196
2223 msgid ""
2224 "B<MPOL_INTERLEAVE> interleaves page allocations across the nodes specified "
2225 "in I<nodemask> in numeric node ID order.  This optimizes for bandwidth "
2226 "instead of latency by spreading out pages and memory accesses to those pages "
2227 "across multiple nodes.  However, accesses to a single page will still be "
2228 "limited to the memory bandwidth of a single node."
2229 msgstr ""
2230 "B<MPOL_INTERLEAVE> では、ページ割り当てを I<nodemask> に指定されたノードの間"
2231 "でノード ID の数字順で交互に行う。 このポリシーでは、複数のノードにページを広"
2232 "げて配置し、これらのページへのメモリ アクセスを分散することで、遅延ではなく、"
2233 "帯域を最適化する。 ただし、一つのページへのアクセスに関しては依然として一つの"
2234 "ノードのメモリ帯域 が上限となる。"
2235
2236 #. type: Plain text
2237 #: build/C/man2/set_mempolicy.2:213
2238 msgid ""
2239 "B<MPOL_PREFERRED> sets the preferred node for allocation.  The kernel will "
2240 "try to allocate pages from this node first and fall back to \"near by\" "
2241 "nodes if the preferred node is low on free memory.  If I<nodemask> specifies "
2242 "more than one node ID, the first node in the mask will be selected as the "
2243 "preferred node.  If the I<nodemask> and I<maxnode> arguments specify the "
2244 "empty set, then the policy specifies \"local allocation\" (like the system "
2245 "default policy discussed above)."
2246 msgstr ""
2247 "B<MPOL_PREFERRED> は、割り当て時に優先されるノード (preferred node) を設定す"
2248 "る。 カーネルはまず優先ノードからページ割り当てを行おうとし、 優先ノードに空"
2249 "きメモリが少ない場合に「近くの (near by)」ノードから 割り当てを行う。 "
2250 "I<nodemask> に複数のノード ID が指定された場合は、 I<nodemask> 内の最初のノー"
2251 "ドが優先ノードとして選択される。 引き数 I<nodemask>, I<maxnode> で空集合が指"
2252 "定された場合は、ポリシーは (上述のシステムの デフォルトポリシーと同様に) "
2253 "「ローカルからの割り当て」となる。"
2254
2255 #. type: Plain text
2256 #: build/C/man2/set_mempolicy.2:220
2257 msgid ""
2258 "The process memory policy is preserved across an B<execve>(2), and is "
2259 "inherited by child processes created using B<fork>(2)  or B<clone>(2)."
2260 msgstr ""
2261 "プロセスのメモリポリシーは B<execve>(2)  の前後で保持され、 B<fork>(2)  や "
2262 "B<clone>(2)  を使って作成された子プロセスに継承される。"
2263
2264 #. type: Plain text
2265 #: build/C/man2/set_mempolicy.2:227
2266 msgid ""
2267 "On success, B<set_mempolicy>()  returns 0; on error, -1 is returned and "
2268 "I<errno> is set to indicate the error."
2269 msgstr ""
2270 "成功すると、 B<set_mempolicy>()  は 0 を返す。エラーの場合、-1 を返し、 "
2271 "I<errno> にエラーを示す値を設定する。"
2272
2273 #. type: Plain text
2274 #: build/C/man2/set_mempolicy.2:272
2275 msgid ""
2276 "I<mode> is invalid.  Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> is "
2277 "nonempty, or I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and I<nodemask> "
2278 "is empty.  Or, I<maxnode> specifies more than a page worth of bits.  Or, "
2279 "I<nodemask> specifies one or more node IDs that are greater than the maximum "
2280 "supported node ID.  Or, none of the node IDs specified by I<nodemask> are on-"
2281 "line and allowed by the process's current cpuset context, or none of the "
2282 "specified nodes contain memory.  Or, the I<mode> argument specified both "
2283 "B<MPOL_F_STATIC_NODES> and B<MPOL_F_RELATIVE_NODES>."
2284 msgstr ""
2285 "I<mode> が不正である。 I<mode> が B<MPOL_DEFAULT> で、 I<nodemask> が空ではな"
2286 "い。 I<mode> が B<MPOL_BIND> か B<MPOL_INTERLEAVE> で、 I<nodemask> が空であ"
2287 "る。 I<maxnode> で実際に意味があるビット数より多くのビット数が指定された。 "
2288 "I<nodemask> に、サポートされている最大ノード ID より大きいノードが指定され"
2289 "た。 I<nodemask> に、オンラインで、かつそのプロセスの現在の CPU 集合コンテキ"
2290 "ストで 許可されているノードが一つも含まれていないか、 メモリを含むノードが一"
2291 "つも指定されていない。 I<mode> 引き数に B<MPOL_F_STATIC_NODES> と "
2292 "B<MPOL_F_RELATIVE_NODES> の両方が指定された。"
2293
2294 #. type: Plain text
2295 #: build/C/man2/set_mempolicy.2:279
2296 msgid ""
2297 "The B<set_mempolicy>(), system call was added to the Linux kernel in version "
2298 "2.6.7."
2299 msgstr ""
2300 "B<set_mempolicy>()  システムコールはバージョン 2.6.7 で Linux カーネルに追加"
2301 "された。"
2302
2303 #. type: Plain text
2304 #: build/C/man2/set_mempolicy.2:286
2305 msgid ""
2306 "Process policy is not remembered if the page is swapped out.  When such a "
2307 "page is paged back in, it will use the policy of the process or memory range "
2308 "that is in effect at the time the page is allocated."
2309 msgstr ""
2310 "ページがスワップ・アウトされる場合には、 プロセスポリシーの設定は推奨されな"
2311 "い。 スワップ・アウトされたページがページ・インする際にも、 ページ割り当て時"
2312 "に適用されるプロセスポリシーやメモリ領域ポリシーが 使用される。"
2313
2314 #. type: Plain text
2315 #: build/C/man2/set_mempolicy.2:298
2316 msgid ""
2317 "B<get_mempolicy>(2), B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<numa>(3), "
2318 "B<cpuset>(7), B<numa>(7), B<numactl>(8)"
2319 msgstr ""
2320 "B<get_mempolicy>(2), B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<numa>(3), "
2321 "B<cpuset>(7), B<numa>(7), B<numactl>(8)"