OSDN Git Service

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