OSDN Git Service

(split) LDP: Update POT and ja.po to LDP v3.54
[linuxjm/LDP_man-pages.git] / po4a / numa / po / numa.pot
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 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2013-09-28 04:06+0900\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=CHARSET\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: build/C/man2/get_mempolicy.2:27
21 #, no-wrap
22 msgid "GET_MEMPOLICY"
23 msgstr ""
24
25 #. type: TH
26 #: build/C/man2/get_mempolicy.2:27 build/C/man2/mbind.2:45 build/C/man2/set_mempolicy.2:27
27 #, no-wrap
28 msgid "2008-08-15"
29 msgstr ""
30
31 #. type: TH
32 #: build/C/man2/get_mempolicy.2:27 build/C/man2/getcpu.2:12 build/C/man2/mbind.2:45 build/C/man2/migrate_pages.2:18 build/C/man2/move_pages.2:18 build/C/man7/numa.7:29 build/C/man2/set_mempolicy.2:27
33 #, no-wrap
34 msgid "Linux"
35 msgstr ""
36
37 #. type: TH
38 #: build/C/man2/get_mempolicy.2:27 build/C/man2/getcpu.2:12 build/C/man2/mbind.2:45 build/C/man2/migrate_pages.2:18 build/C/man2/move_pages.2:18 build/C/man7/numa.7:29 build/C/man2/set_mempolicy.2:27
39 #, no-wrap
40 msgid "Linux Programmer's Manual"
41 msgstr ""
42
43 #. type: SH
44 #: build/C/man2/get_mempolicy.2:28 build/C/man2/getcpu.2:13 build/C/man2/mbind.2:46 build/C/man2/migrate_pages.2:19 build/C/man2/move_pages.2:19 build/C/man7/numa.7:30 build/C/man2/set_mempolicy.2:28
45 #, no-wrap
46 msgid "NAME"
47 msgstr ""
48
49 #. type: Plain text
50 #: build/C/man2/get_mempolicy.2:30
51 msgid "get_mempolicy - retrieve NUMA memory policy for a process"
52 msgstr ""
53
54 #. type: SH
55 #: build/C/man2/get_mempolicy.2:30 build/C/man2/getcpu.2:15 build/C/man2/mbind.2:48 build/C/man2/migrate_pages.2:21 build/C/man2/move_pages.2:21 build/C/man2/set_mempolicy.2:30
56 #, no-wrap
57 msgid "SYNOPSIS"
58 msgstr ""
59
60 #. type: Plain text
61 #: build/C/man2/get_mempolicy.2:32
62 msgid "B<#include E<lt>numaif.hE<gt>>"
63 msgstr ""
64
65 #. type: Plain text
66 #: build/C/man2/get_mempolicy.2:37
67 #, no-wrap
68 msgid ""
69 "B<int get_mempolicy(int *>I<mode>B<, unsigned long *>I<nodemask>B<,>\n"
70 "B<                  unsigned long >I<maxnode>B<, unsigned long "
71 ">I<addr>B<,>\n"
72 "B<                  unsigned long >I<flags>B<);>\n"
73 msgstr ""
74
75 #. type: Plain text
76 #: build/C/man2/get_mempolicy.2:39 build/C/man2/mbind.2:57 build/C/man2/set_mempolicy.2:38
77 #, no-wrap
78 msgid "Link with I<-lnuma>.\n"
79 msgstr ""
80
81 #. type: SH
82 #: build/C/man2/get_mempolicy.2:40 build/C/man2/getcpu.2:25 build/C/man2/mbind.2:58 build/C/man2/migrate_pages.2:31 build/C/man2/move_pages.2:30 build/C/man7/numa.7:32 build/C/man2/set_mempolicy.2:39
83 #, no-wrap
84 msgid "DESCRIPTION"
85 msgstr ""
86
87 #. type: Plain text
88 #: build/C/man2/get_mempolicy.2:45
89 msgid ""
90 "B<get_mempolicy>()  retrieves the NUMA policy of the calling process or of a "
91 "memory address, depending on the setting of I<flags>."
92 msgstr ""
93
94 #. type: Plain text
95 #: build/C/man2/get_mempolicy.2:50 build/C/man2/set_mempolicy.2:54
96 msgid ""
97 "A NUMA machine has different memory controllers with different distances to "
98 "specific CPUs.  The memory policy defines from which node memory is "
99 "allocated for the process."
100 msgstr ""
101
102 #. type: Plain text
103 #: build/C/man2/get_mempolicy.2:67
104 msgid ""
105 "If I<flags> is specified as 0, then information about the calling process's "
106 "default policy (as set by B<set_mempolicy>(2))  is returned.  The policy "
107 "returned [I<mode> and I<nodemask>] may be used to restore the process's "
108 "policy to its state at the time of the call to B<get_mempolicy>()  using "
109 "B<set_mempolicy>(2)."
110 msgstr ""
111
112 #. type: Plain text
113 #: build/C/man2/get_mempolicy.2:89
114 msgid ""
115 "If I<flags> specifies B<MPOL_F_MEMS_ALLOWED> (available since Linux 2.6.24), "
116 "the I<mode> argument is ignored and the set of nodes [memories] that the "
117 "process is allowed to specify in subsequent calls to B<mbind>(2)  or "
118 "B<set_mempolicy>(2)  [in the absence of any I<mode flags>] is returned in "
119 "I<nodemask>.  It is not permitted to combine B<MPOL_F_MEMS_ALLOWED> with "
120 "either B<MPOL_F_ADDR> or B<MPOL_F_NODE>."
121 msgstr ""
122
123 #. type: Plain text
124 #: build/C/man2/get_mempolicy.2:103
125 msgid ""
126 "If I<flags> specifies B<MPOL_F_ADDR>, then information is returned about the "
127 "policy governing the memory address given in I<addr>.  This policy may be "
128 "different from the process's default policy if B<mbind>(2)  or one of the "
129 "helper functions described in B<numa>(3)  has been used to establish a "
130 "policy for the memory range containing I<addr>."
131 msgstr ""
132
133 #. type: Plain text
134 #: build/C/man2/get_mempolicy.2:124
135 msgid ""
136 "If the I<mode> argument is not NULL, then B<get_mempolicy>()  will store the "
137 "policy mode and any optional I<mode flags> of the requested NUMA policy in "
138 "the location pointed to by this argument.  If I<nodemask> is not NULL, then "
139 "the nodemask associated with the policy will be stored in the location "
140 "pointed to by this argument.  I<maxnode> specifies the number of node IDs "
141 "that can be stored into I<nodemask>\\(emthat is, the maximum node ID plus "
142 "one.  The value specified by I<maxnode> is always rounded to a multiple of "
143 "I<sizeof(unsigned long)>."
144 msgstr ""
145
146 #. type: Plain text
147 #: build/C/man2/get_mempolicy.2:141
148 msgid ""
149 "If I<flags> specifies both B<MPOL_F_NODE> and B<MPOL_F_ADDR>, "
150 "B<get_mempolicy>()  will return the node ID of the node on which the address "
151 "I<addr> is allocated into the location pointed to by I<mode>.  If no page "
152 "has yet been allocated for the specified address, B<get_mempolicy>()  will "
153 "allocate a page as if the process had performed a read [load] access to that "
154 "address, and return the ID of the node where that page was allocated."
155 msgstr ""
156
157 #.  Note:  code returns next interleave node via 'mode' argument -Lee Schermerhorn
158 #. type: Plain text
159 #: build/C/man2/get_mempolicy.2:166
160 msgid ""
161 "If I<flags> specifies B<MPOL_F_NODE>, but not B<MPOL_F_ADDR>, and the "
162 "process's current policy is B<MPOL_INTERLEAVE>, then B<get_mempolicy>()  "
163 "will return in the location pointed to by a non-NULL I<mode> argument, the "
164 "node ID of the next node that will be used for interleaving of internal "
165 "kernel pages allocated on behalf of the process.  These allocations include "
166 "pages for memory mapped files in process memory ranges mapped using the "
167 "B<mmap>(2)  call with the B<MAP_PRIVATE> flag for read accesses, and in "
168 "memory ranges mapped with the B<MAP_SHARED> flag for all accesses."
169 msgstr ""
170
171 #. type: Plain text
172 #: build/C/man2/get_mempolicy.2:168
173 msgid "Other flag values are reserved."
174 msgstr ""
175
176 #. type: Plain text
177 #: build/C/man2/get_mempolicy.2:171
178 msgid "For an overview of the possible policies see B<set_mempolicy>(2)."
179 msgstr ""
180
181 #. type: SH
182 #: build/C/man2/get_mempolicy.2:171 build/C/man2/getcpu.2:61 build/C/man2/mbind.2:309 build/C/man2/migrate_pages.2:88 build/C/man2/move_pages.2:141 build/C/man2/set_mempolicy.2:220
183 #, no-wrap
184 msgid "RETURN VALUE"
185 msgstr ""
186
187 #. type: Plain text
188 #: build/C/man2/get_mempolicy.2:178
189 msgid ""
190 "On success, B<get_mempolicy>()  returns 0; on error, -1 is returned and "
191 "I<errno> is set to indicate the error."
192 msgstr ""
193
194 #. type: SH
195 #: build/C/man2/get_mempolicy.2:178 build/C/man2/getcpu.2:66 build/C/man2/mbind.2:317 build/C/man2/migrate_pages.2:96 build/C/man2/move_pages.2:150 build/C/man2/set_mempolicy.2:227
196 #, no-wrap
197 msgid "ERRORS"
198 msgstr ""
199
200 #. type: TP
201 #: build/C/man2/get_mempolicy.2:179 build/C/man2/getcpu.2:67 build/C/man2/mbind.2:319 build/C/man2/move_pages.2:159 build/C/man2/set_mempolicy.2:228
202 #, no-wrap
203 msgid "B<EFAULT>"
204 msgstr ""
205
206 #. type: Plain text
207 #: build/C/man2/get_mempolicy.2:186 build/C/man2/set_mempolicy.2:235
208 msgid ""
209 "Part of all of the memory range specified by I<nodemask> and I<maxnode> "
210 "points outside your accessible address space."
211 msgstr ""
212
213 #. type: TP
214 #: build/C/man2/get_mempolicy.2:186 build/C/man2/mbind.2:327 build/C/man2/move_pages.2:162 build/C/man2/set_mempolicy.2:235
215 #, no-wrap
216 msgid "B<EINVAL>"
217 msgstr ""
218
219 #. type: Plain text
220 #: build/C/man2/get_mempolicy.2:230
221 msgid ""
222 "The value specified by I<maxnode> is less than the number of node IDs "
223 "supported by the system.  Or I<flags> specified values other than "
224 "B<MPOL_F_NODE> or B<MPOL_F_ADDR>; or I<flags> specified B<MPOL_F_ADDR> and "
225 "I<addr> is NULL, or I<flags> did not specify B<MPOL_F_ADDR> and I<addr> is "
226 "not NULL.  Or, I<flags> specified B<MPOL_F_NODE> but not B<MPOL_F_ADDR> and "
227 "the current process policy is not B<MPOL_INTERLEAVE>.  Or, I<flags> "
228 "specified B<MPOL_F_MEMS_ALLOWED> with either B<MPOL_F_ADDR> or "
229 "B<MPOL_F_NODE>.  (And there are other B<EINVAL> cases.)"
230 msgstr ""
231
232 #. type: SH
233 #: build/C/man2/get_mempolicy.2:230 build/C/man2/getcpu.2:70 build/C/man2/mbind.2:399 build/C/man2/migrate_pages.2:112 build/C/man2/move_pages.2:190 build/C/man2/set_mempolicy.2:275
234 #, no-wrap
235 msgid "VERSIONS"
236 msgstr ""
237
238 #. type: Plain text
239 #: build/C/man2/get_mempolicy.2:234
240 msgid ""
241 "The B<get_mempolicy>()  system call was added to the Linux kernel in version "
242 "2.6.7."
243 msgstr ""
244
245 #. type: SH
246 #: build/C/man2/get_mempolicy.2:234 build/C/man2/getcpu.2:73 build/C/man2/mbind.2:403 build/C/man2/migrate_pages.2:116 build/C/man2/move_pages.2:193 build/C/man7/numa.7:148 build/C/man2/set_mempolicy.2:279
247 #, no-wrap
248 msgid "CONFORMING TO"
249 msgstr ""
250
251 #. type: Plain text
252 #: build/C/man2/get_mempolicy.2:236 build/C/man2/mbind.2:405 build/C/man2/migrate_pages.2:118 build/C/man2/move_pages.2:195 build/C/man2/set_mempolicy.2:281
253 msgid "This system call is Linux-specific."
254 msgstr ""
255
256 #. type: SH
257 #: build/C/man2/get_mempolicy.2:236 build/C/man2/getcpu.2:76 build/C/man2/mbind.2:405 build/C/man2/migrate_pages.2:118 build/C/man2/move_pages.2:195 build/C/man7/numa.7:150 build/C/man2/set_mempolicy.2:281
258 #, no-wrap
259 msgid "NOTES"
260 msgstr ""
261
262 #. type: Plain text
263 #: build/C/man2/get_mempolicy.2:239 build/C/man2/mbind.2:408 build/C/man2/migrate_pages.2:121 build/C/man2/move_pages.2:198 build/C/man2/set_mempolicy.2:289
264 msgid "For information on library support, see B<numa>(7)."
265 msgstr ""
266
267 #. type: SH
268 #: build/C/man2/get_mempolicy.2:239 build/C/man2/getcpu.2:139 build/C/man2/mbind.2:457 build/C/man2/migrate_pages.2:148 build/C/man2/move_pages.2:225 build/C/man7/numa.7:183 build/C/man2/set_mempolicy.2:289
269 #, no-wrap
270 msgid "SEE ALSO"
271 msgstr ""
272
273 #. type: Plain text
274 #: build/C/man2/get_mempolicy.2:247
275 msgid ""
276 "B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<set_mempolicy>(2), B<numa>(3), "
277 "B<numa>(7), B<numactl>(8)"
278 msgstr ""
279
280 #. type: SH
281 #: build/C/man2/get_mempolicy.2:247 build/C/man2/getcpu.2:145 build/C/man2/mbind.2:468 build/C/man2/migrate_pages.2:161 build/C/man2/move_pages.2:235 build/C/man7/numa.7:191 build/C/man2/set_mempolicy.2:298
282 #, no-wrap
283 msgid "COLOPHON"
284 msgstr ""
285
286 #. type: Plain text
287 #: build/C/man2/get_mempolicy.2:254 build/C/man2/getcpu.2:152 build/C/man2/mbind.2:475 build/C/man2/migrate_pages.2:168 build/C/man2/move_pages.2:242 build/C/man7/numa.7:198 build/C/man2/set_mempolicy.2:305
288 msgid ""
289 "This page is part of release 3.54 of the Linux I<man-pages> project.  A "
290 "description of the project, and information about reporting bugs, can be "
291 "found at \\%http://www.kernel.org/doc/man-pages/."
292 msgstr ""
293
294 #. type: TH
295 #: build/C/man2/getcpu.2:12
296 #, no-wrap
297 msgid "GETCPU"
298 msgstr ""
299
300 #. type: TH
301 #: build/C/man2/getcpu.2:12
302 #, no-wrap
303 msgid "2013-04-03"
304 msgstr ""
305
306 #. type: Plain text
307 #: build/C/man2/getcpu.2:15
308 msgid "getcpu - determine CPU and NUMA node on which the calling thread is running"
309 msgstr ""
310
311 #. type: Plain text
312 #: build/C/man2/getcpu.2:18
313 #, no-wrap
314 msgid "B<#include E<lt>linux/getcpu.hE<gt>>\n"
315 msgstr ""
316
317 #. type: Plain text
318 #: build/C/man2/getcpu.2:21
319 #, no-wrap
320 msgid ""
321 "B<int getcpu(unsigned *>I<cpu>B<, unsigned *>I<node>B<, struct getcpu_cache "
322 "*>I<tcache>B<);>\n"
323 msgstr ""
324
325 #. type: Plain text
326 #: build/C/man2/getcpu.2:25
327 msgid "I<Note>: There is no glibc wrapper for this system call; see NOTES."
328 msgstr ""
329
330 #. type: Plain text
331 #: build/C/man2/getcpu.2:42
332 msgid ""
333 "The B<getcpu>()  system call identifies the processor and node on which the "
334 "calling thread or process is currently running and writes them into the "
335 "integers pointed to by the I<cpu> and I<node> arguments.  The processor is a "
336 "unique small integer identifying a CPU.  The node is a unique small "
337 "identifier identifying a NUMA node.  When either I<cpu> or I<node> is NULL "
338 "nothing is written to the respective pointer."
339 msgstr ""
340
341 #. type: Plain text
342 #: build/C/man2/getcpu.2:46
343 msgid ""
344 "The third argument to this system call is nowadays unused, and should be "
345 "specified as NULL unless portability to Linux 2.6.23 or earlier is required "
346 "(see NOTES)."
347 msgstr ""
348
349 #. type: Plain text
350 #: build/C/man2/getcpu.2:61
351 msgid ""
352 "The information placed in I<cpu> is guaranteed to be current only at the "
353 "time of the call: unless the CPU affinity has been fixed using "
354 "B<sched_setaffinity>(2), the kernel might change the CPU at any time.  "
355 "(Normally this does not happen because the scheduler tries to minimize "
356 "movements between CPUs to keep caches hot, but it is possible.)  The caller "
357 "must allow for the possibility that the information returned in I<cpu> and "
358 "I<node> is no longer current by the time the call returns."
359 msgstr ""
360
361 #. type: Plain text
362 #: build/C/man2/getcpu.2:66
363 msgid ""
364 "On success, 0 is returned.  On error, -1 is returned, and I<errno> is set "
365 "appropriately."
366 msgstr ""
367
368 #. type: Plain text
369 #: build/C/man2/getcpu.2:70
370 msgid "Arguments point outside the calling process's address space."
371 msgstr ""
372
373 #. type: Plain text
374 #: build/C/man2/getcpu.2:73
375 msgid "B<getcpu>()  was added in kernel 2.6.19 for x86_64 and i386."
376 msgstr ""
377
378 #. type: Plain text
379 #: build/C/man2/getcpu.2:76
380 msgid "B<getcpu>()  is Linux specific."
381 msgstr ""
382
383 #. type: Plain text
384 #: build/C/man2/getcpu.2:82
385 msgid ""
386 "Linux makes a best effort to make this call as fast possible.  The intention "
387 "of B<getcpu>()  is to allow programs to make optimizations with per-CPU data "
388 "or for NUMA optimization."
389 msgstr ""
390
391 #. type: Plain text
392 #: build/C/man2/getcpu.2:88
393 msgid ""
394 "Glibc does not provide a wrapper for this system call; call it using "
395 "B<syscall>(2); or use B<sched_getcpu>(3)  instead."
396 msgstr ""
397
398 #.  commit 4307d1e5ada595c87f9a4d16db16ba5edb70dcb1
399 #.  Author: Ingo Molnar <mingo@elte.hu>
400 #.  Date:   Wed Nov 7 18:37:48 2007 +0100
401 #.  x86: ignore the sys_getcpu() tcache parameter
402 #
403 #.  ===== Before kernel 2.6.24: =====
404 #.  .I tcache
405 #.  is a pointer to a
406 #.  .IR "struct getcpu_cache"
407 #.  that is used as a cache by
408 #.  .BR getcpu ().
409 #.  The caller should put the cache into a thread-local variable
410 #.  if the process is multithreaded,
411 #.  because the cache cannot be shared between different threads.
412 #.  .I tcache
413 #.  can be NULL.
414 #.  If it is not NULL
415 #.  .BR getcpu ()
416 #.  will use it to speed up operation.
417 #.  The information inside the cache is private to the system call
418 #.  and should not be accessed by the user program.
419 #.  The information placed in the cache can change between kernel releases.
420 #
421 #.  When no cache is specified
422 #.  .BR getcpu ()
423 #.  will be slower,
424 #.  but always retrieve the current CPU and node information.
425 #.  With a cache
426 #.  .BR getcpu ()
427 #.  is faster.
428 #.  However, the cached information is updated only once per jiffy (see
429 #.  .BR time (7)).
430 #.  This means that the information could theoretically be out of date,
431 #.  although in practice the scheduler's attempt to maintain
432 #.  soft CPU affinity means that the information is unlikely to change
433 #.  over the course of the caching interval.
434 #. type: Plain text
435 #: build/C/man2/getcpu.2:139
436 msgid ""
437 "The I<tcache> argument is unused since Linux 2.6.24.  In earlier kernels, if "
438 "this argument was non-NULL, then it specified a pointer to a "
439 "caller-allocated buffer in thread-local storage that was used to provide a "
440 "caching mechanism for B<getcpu>().  Use of the cache could speed B<getcpu>()  "
441 "calls, at the cost that there was a very small chance that the returned "
442 "information would be out of date.  The caching mechanism was considered to "
443 "cause problems when migrating threads between CPUs, and so the argument is "
444 "now ignored."
445 msgstr ""
446
447 #. type: Plain text
448 #: build/C/man2/getcpu.2:145
449 msgid ""
450 "B<mbind>(2), B<sched_setaffinity>(2), B<set_mempolicy>(2), "
451 "B<sched_getcpu>(3), B<cpuset>(7)"
452 msgstr ""
453
454 #. type: TH
455 #: build/C/man2/mbind.2:45
456 #, no-wrap
457 msgid "MBIND"
458 msgstr ""
459
460 #. type: Plain text
461 #: build/C/man2/mbind.2:48
462 msgid "mbind - set memory policy for a memory range"
463 msgstr ""
464
465 #. type: Plain text
466 #: build/C/man2/mbind.2:51 build/C/man2/migrate_pages.2:24 build/C/man2/move_pages.2:24 build/C/man2/set_mempolicy.2:33
467 #, no-wrap
468 msgid "B<#include E<lt>numaif.hE<gt>>\n"
469 msgstr ""
470
471 #. type: Plain text
472 #: build/C/man2/mbind.2:55
473 #, no-wrap
474 msgid ""
475 "B<int mbind(void *>I<addr>B<, unsigned long >I<len>B<, int >I<mode>B<,>\n"
476 "B<          unsigned long *>I<nodemask>B<, unsigned long >I<maxnode>B<,>\n"
477 "B<          unsigned >I<flags>B<);>\n"
478 msgstr ""
479
480 #. type: Plain text
481 #: build/C/man2/mbind.2:68
482 msgid ""
483 "B<mbind>()  sets the NUMA memory policy, which consists of a policy mode and "
484 "zero or more nodes, for the memory range starting with I<addr> and "
485 "continuing for I<len> bytes.  The memory policy defines from which node "
486 "memory is allocated."
487 msgstr ""
488
489 #. type: Plain text
490 #: build/C/man2/mbind.2:90
491 msgid ""
492 "If the memory range specified by the I<addr> and I<len> arguments includes "
493 "an \"anonymous\" region of memory\\(emthat is a region of memory created "
494 "using the B<mmap>(2)  system call with the B<MAP_ANONYMOUS>\\(emor a memory "
495 "mapped file, mapped using the B<mmap>(2)  system call with the "
496 "B<MAP_PRIVATE> flag, pages will be allocated only according to the specified "
497 "policy when the application writes [stores] to the page.  For anonymous "
498 "regions, an initial read access will use a shared page in the kernel "
499 "containing all zeros.  For a file mapped with B<MAP_PRIVATE>, an initial "
500 "read access will allocate pages according to the process policy of the "
501 "process that causes the page to be allocated.  This may not be the process "
502 "that called B<mbind>()."
503 msgstr ""
504
505 #. type: Plain text
506 #: build/C/man2/mbind.2:98
507 msgid ""
508 "The specified policy will be ignored for any B<MAP_SHARED> mappings in the "
509 "specified memory range.  Rather the pages will be allocated according to the "
510 "process policy of the process that caused the page to be allocated.  Again, "
511 "this may not be the process that called B<mbind>()."
512 msgstr ""
513
514 #. type: Plain text
515 #: build/C/man2/mbind.2:115
516 msgid ""
517 "If the specified memory range includes a shared memory region created using "
518 "the B<shmget>(2)  system call and attached using the B<shmat>(2)  system "
519 "call, pages allocated for the anonymous or shared memory region will be "
520 "allocated according to the policy specified, regardless which process "
521 "attached to the shared memory segment causes the allocation.  If, however, "
522 "the shared memory region was created with the B<SHM_HUGETLB> flag, the huge "
523 "pages will be allocated according to the policy specified only if the page "
524 "allocation is caused by the process that calls B<mbind>()  for that region."
525 msgstr ""
526
527 #. type: Plain text
528 #: build/C/man2/mbind.2:126
529 msgid ""
530 "By default, B<mbind>()  has an effect only for new allocations; if the pages "
531 "inside the range have been already touched before setting the policy, then "
532 "the policy has no effect.  This default behavior may be overridden by the "
533 "B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> flags described below."
534 msgstr ""
535
536 #. type: Plain text
537 #: build/C/man2/mbind.2:141
538 msgid ""
539 "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
540 "B<MPOL_INTERLEAVE> or B<MPOL_PREFERRED>.  All policy modes except "
541 "B<MPOL_DEFAULT> require the caller to specify via the I<nodemask> argument, "
542 "the node or nodes to which the mode applies."
543 msgstr ""
544
545 #. type: Plain text
546 #: build/C/man2/mbind.2:149
547 msgid ""
548 "The I<mode> argument may also include an optional I<mode flag >.  The "
549 "supported I<mode flags> are:"
550 msgstr ""
551
552 #. type: TP
553 #: build/C/man2/mbind.2:149
554 #, no-wrap
555 msgid "B<MPOL_F_STATIC_NODES> (since Linux-2.6.26)"
556 msgstr ""
557
558 #. type: Plain text
559 #: build/C/man2/mbind.2:159
560 msgid ""
561 "A nonempty I<nodemask> specifies physical node ids.  Linux does not remap "
562 "the I<nodemask> when the process moves to a different cpuset context, nor "
563 "when the set of nodes allowed by the process's current cpuset context "
564 "changes."
565 msgstr ""
566
567 #. type: TP
568 #: build/C/man2/mbind.2:159
569 #, no-wrap
570 msgid "B<MPOL_F_RELATIVE_NODES> (since Linux-2.6.26)"
571 msgstr ""
572
573 #. type: Plain text
574 #: build/C/man2/mbind.2:165 build/C/man2/set_mempolicy.2:113
575 msgid ""
576 "A nonempty I<nodemask> specifies node ids that are relative to the set of "
577 "node ids allowed by the process's current cpuset."
578 msgstr ""
579
580 #. type: Plain text
581 #: build/C/man2/mbind.2:193
582 msgid ""
583 "I<nodemask> points to a bit mask of nodes containing up to I<maxnode> bits.  "
584 "The bit mask size is rounded to the next multiple of I<sizeof(unsigned "
585 "long)>, but the kernel will use bits only up to I<maxnode>.  A NULL value of "
586 "I<nodemask> or a I<maxnode> value of zero specifies the empty set of nodes.  "
587 "If the value of I<maxnode> is zero, the I<nodemask> argument is ignored.  "
588 "Where a I<nodemask> is required, it must contain at least one node that is "
589 "on-line, allowed by the process's current cpuset context [unless the "
590 "B<MPOL_F_STATIC_NODES> mode flag is specified], and contains memory."
591 msgstr ""
592
593 #. type: Plain text
594 #: build/C/man2/mbind.2:215
595 msgid ""
596 "The B<MPOL_DEFAULT> mode requests that any nondefault policy be removed, "
597 "restoring default behavior.  When applied to a range of memory via "
598 "B<mbind>(), this means to use the process policy, which may have been set "
599 "with B<set_mempolicy>(2).  If the mode of the process policy is also "
600 "B<MPOL_DEFAULT>, the system-wide default policy will be used.  The "
601 "system-wide default policy allocates pages on the node of the CPU that "
602 "triggers the allocation.  For B<MPOL_DEFAULT>, the I<nodemask> and "
603 "I<maxnode> arguments must be specify the empty set of nodes."
604 msgstr ""
605
606 #. type: Plain text
607 #: build/C/man2/mbind.2:232
608 msgid ""
609 "The B<MPOL_BIND> mode specifies a strict policy that restricts memory "
610 "allocation to the nodes specified in I<nodemask>.  If I<nodemask> specifies "
611 "more than one node, page allocations will come from the node with the lowest "
612 "numeric node ID first, until that node contains no free memory.  Allocations "
613 "will then come from the node with the next highest node ID specified in "
614 "I<nodemask> and so forth, until none of the specified nodes contain free "
615 "memory.  Pages will not be allocated from any node not specified in the "
616 "I<nodemask>."
617 msgstr ""
618
619 #. type: Plain text
620 #: build/C/man2/mbind.2:245
621 msgid ""
622 "The B<MPOL_INTERLEAVE> mode specifies that page allocations be interleaved "
623 "across the set of nodes specified in I<nodemask>.  This optimizes for "
624 "bandwidth instead of latency by spreading out pages and memory accesses to "
625 "those pages across multiple nodes.  To be effective the memory area should "
626 "be fairly large, at least 1MB or bigger with a fairly uniform access "
627 "pattern.  Accesses to a single page of the area will still be limited to the "
628 "memory bandwidth of a single node."
629 msgstr ""
630
631 #. type: Plain text
632 #: build/C/man2/mbind.2:264
633 msgid ""
634 "B<MPOL_PREFERRED> sets the preferred node for allocation.  The kernel will "
635 "try to allocate pages from this node first and fall back to other nodes if "
636 "the preferred nodes is low on free memory.  If I<nodemask> specifies more "
637 "than one node ID, the first node in the mask will be selected as the "
638 "preferred node.  If the I<nodemask> and I<maxnode> arguments specify the "
639 "empty set, then the memory is allocated on the node of the CPU that "
640 "triggered the allocation.  This is the only way to specify \"local "
641 "allocation\" for a range of memory via B<mbind>()."
642 msgstr ""
643
644 #.  According to the kernel code, the following is not true
645 #.  --Lee Schermerhorn
646 #.  In 2.6.16 or later the kernel will also try to move pages
647 #.  to the requested node with this flag.
648 #. type: Plain text
649 #: build/C/man2/mbind.2:280
650 msgid ""
651 "If B<MPOL_MF_STRICT> is passed in I<flags> and I<mode> is not "
652 "B<MPOL_DEFAULT>, then the call will fail with the error B<EIO> if the "
653 "existing pages in the memory range don't follow the policy."
654 msgstr ""
655
656 #. type: Plain text
657 #: build/C/man2/mbind.2:293
658 msgid ""
659 "If B<MPOL_MF_MOVE> is specified in I<flags>, then the kernel will attempt to "
660 "move all the existing pages in the memory range so that they follow the "
661 "policy.  Pages that are shared with other processes will not be moved.  If "
662 "B<MPOL_MF_STRICT> is also specified, then the call will fail with the error "
663 "B<EIO> if some pages could not be moved."
664 msgstr ""
665
666 #.  ---------------------------------------------------------------
667 #. type: Plain text
668 #: build/C/man2/mbind.2:309
669 msgid ""
670 "If B<MPOL_MF_MOVE_ALL> is passed in I<flags>, then the kernel will attempt "
671 "to move all existing pages in the memory range regardless of whether other "
672 "processes use the pages.  The calling process must be privileged "
673 "(B<CAP_SYS_NICE>)  to use this flag.  If B<MPOL_MF_STRICT> is also "
674 "specified, then the call will fail with the error B<EIO> if some pages could "
675 "not be moved."
676 msgstr ""
677
678 #.  ---------------------------------------------------------------
679 #. type: Plain text
680 #: build/C/man2/mbind.2:317
681 msgid ""
682 "On success, B<mbind>()  returns 0; on error, -1 is returned and I<errno> is "
683 "set to indicate the error."
684 msgstr ""
685
686 #. type: Plain text
687 #: build/C/man2/mbind.2:327
688 msgid ""
689 "Part or all of the memory range specified by I<nodemask> and I<maxnode> "
690 "points outside your accessible address space.  Or, there was an unmapped "
691 "hole in the specified memory range."
692 msgstr ""
693
694 #.  As at 2.6.23, this limit is "a page worth of bits", e.g.,
695 #.  8 * 4096 bits, assuming a 4kB page size.
696 #. type: Plain text
697 #: build/C/man2/mbind.2:375
698 msgid ""
699 "An invalid value was specified for I<flags> or I<mode>; or I<addr + len> was "
700 "less than I<addr>; or I<addr> is not a multiple of the system page size.  "
701 "Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> specified a nonempty set; or "
702 "I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and I<nodemask> is empty.  Or, "
703 "I<maxnode> exceeds a kernel-imposed limit.  Or, I<nodemask> specifies one or "
704 "more node IDs that are greater than the maximum supported node ID.  Or, none "
705 "of the node IDs specified by I<nodemask> are on-line and allowed by the "
706 "process's current cpuset context, or none of the specified nodes contain "
707 "memory.  Or, the I<mode> argument specified both B<MPOL_F_STATIC_NODES> and "
708 "B<MPOL_F_RELATIVE_NODES>."
709 msgstr ""
710
711 #. type: TP
712 #: build/C/man2/mbind.2:375
713 #, no-wrap
714 msgid "B<EIO>"
715 msgstr ""
716
717 #. type: Plain text
718 #: build/C/man2/mbind.2:386
719 msgid ""
720 "B<MPOL_MF_STRICT> was specified and an existing page was already on a node "
721 "that does not follow the policy; or B<MPOL_MF_MOVE> or B<MPOL_MF_MOVE_ALL> "
722 "was specified and the kernel was unable to move all existing pages in the "
723 "range."
724 msgstr ""
725
726 #. type: TP
727 #: build/C/man2/mbind.2:386 build/C/man2/set_mempolicy.2:272
728 #, no-wrap
729 msgid "B<ENOMEM>"
730 msgstr ""
731
732 #. type: Plain text
733 #: build/C/man2/mbind.2:389 build/C/man2/set_mempolicy.2:275
734 msgid "Insufficient kernel memory was available."
735 msgstr ""
736
737 #. type: TP
738 #: build/C/man2/mbind.2:389 build/C/man2/migrate_pages.2:97 build/C/man2/move_pages.2:178
739 #, no-wrap
740 msgid "B<EPERM>"
741 msgstr ""
742
743 #.  ---------------------------------------------------------------
744 #. type: Plain text
745 #: build/C/man2/mbind.2:399
746 msgid ""
747 "The I<flags> argument included the B<MPOL_MF_MOVE_ALL> flag and the caller "
748 "does not have the B<CAP_SYS_NICE> privilege."
749 msgstr ""
750
751 #. type: Plain text
752 #: build/C/man2/mbind.2:403
753 msgid "The B<mbind>()  system call was added to the Linux kernel in version 2.6.7."
754 msgstr ""
755
756 #. type: Plain text
757 #: build/C/man2/mbind.2:413
758 msgid ""
759 "NUMA policy is not supported on a memory mapped file range that was mapped "
760 "with the B<MAP_SHARED> flag."
761 msgstr ""
762
763 #. type: Plain text
764 #: build/C/man2/mbind.2:445
765 msgid ""
766 "The B<MPOL_DEFAULT> mode can have different effects for B<mbind>()  and "
767 "B<set_mempolicy>(2).  When B<MPOL_DEFAULT> is specified for "
768 "B<set_mempolicy>(2), the process's policy reverts to system default policy "
769 "or local allocation.  When B<MPOL_DEFAULT> is specified for a range of "
770 "memory using B<mbind>(), any pages subsequently allocated for that range "
771 "will use the process's policy, as set by B<set_mempolicy>(2).  This "
772 "effectively removes the explicit policy from the specified range, \"falling "
773 "back\" to a possibly nondefault policy.  To select explicit \"local "
774 "allocation\" for a memory range, specify a I<mode> of B<MPOL_PREFERRED> with "
775 "an empty set of nodes.  This method will work for B<set_mempolicy>(2), as "
776 "well."
777 msgstr ""
778
779 #. type: Plain text
780 #: build/C/man2/mbind.2:449
781 msgid ""
782 "Support for huge page policy was added with 2.6.16.  For interleave policy "
783 "to be effective on huge page mappings the policied memory needs to be tens "
784 "of megabytes or larger."
785 msgstr ""
786
787 #. type: Plain text
788 #: build/C/man2/mbind.2:452
789 msgid "B<MPOL_MF_STRICT> is ignored on huge page mappings."
790 msgstr ""
791
792 #. type: Plain text
793 #: build/C/man2/mbind.2:457
794 msgid ""
795 "B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> are available only on Linux 2.6.16 "
796 "and later."
797 msgstr ""
798
799 #. type: Plain text
800 #: build/C/man2/mbind.2:468
801 msgid ""
802 "B<get_mempolicy>(2), B<getcpu>(2), B<mmap>(2), B<set_mempolicy>(2), "
803 "B<shmat>(2), B<shmget>(2), B<numa>(3), B<cpuset>(7), B<numa>(7), "
804 "B<numactl>(8)"
805 msgstr ""
806
807 #. type: TH
808 #: build/C/man2/migrate_pages.2:18
809 #, no-wrap
810 msgid "MIGRATE_PAGES"
811 msgstr ""
812
813 #. type: TH
814 #: build/C/man2/migrate_pages.2:18
815 #, no-wrap
816 msgid "2012-08-01"
817 msgstr ""
818
819 #. type: Plain text
820 #: build/C/man2/migrate_pages.2:21
821 msgid "migrate_pages - move all pages in a process to another set of nodes"
822 msgstr ""
823
824 #. type: Plain text
825 #: build/C/man2/migrate_pages.2:28
826 #, no-wrap
827 msgid ""
828 "B<long migrate_pages(int >I<pid>B<, unsigned long >I<maxnode,>\n"
829 "B<                   const unsigned long *>I<old_nodes,>\n"
830 "B<                   const unsigned long *>I<new_nodes>B<);>\n"
831 msgstr ""
832
833 #. type: Plain text
834 #: build/C/man2/migrate_pages.2:31 build/C/man2/move_pages.2:30
835 msgid "Link with I<-lnuma>."
836 msgstr ""
837
838 #. type: Plain text
839 #: build/C/man2/migrate_pages.2:47
840 msgid ""
841 "B<migrate_pages>()  attempts to move all pages of the process I<pid> that "
842 "are in memory nodes I<old_nodes> to the memory nodes in I<new_nodes>.  Pages "
843 "not located in any node in I<old_nodes> will not be migrated.  As far as "
844 "possible, the kernel maintains the relative topology relationship inside "
845 "I<old_nodes> during the migration to I<new_nodes>."
846 msgstr ""
847
848 #. type: Plain text
849 #: build/C/man2/migrate_pages.2:69
850 msgid ""
851 "The I<old_nodes> and I<new_nodes> arguments are pointers to bit masks of "
852 "node numbers, with up to I<maxnode> bits in each mask.  These masks are "
853 "maintained as arrays of unsigned I<long> integers (in the last I<long> "
854 "integer, the bits beyond those specified by I<maxnode> are ignored).  The "
855 "I<maxnode> argument is the maximum node number in the bit mask plus one "
856 "(this is the same as in B<mbind>(2), but different from B<select>(2))."
857 msgstr ""
858
859 #. type: Plain text
860 #: build/C/man2/migrate_pages.2:83
861 msgid ""
862 "The I<pid> argument is the ID of the process whose pages are to be moved.  "
863 "To move pages in another process, the caller must be privileged "
864 "(B<CAP_SYS_NICE>)  or the real or effective user ID of the calling process "
865 "must match the real or saved-set user ID of the target process.  If I<pid> "
866 "is 0, then B<migrate_pages>()  moves pages of the calling process."
867 msgstr ""
868
869 #. type: Plain text
870 #: build/C/man2/migrate_pages.2:88
871 msgid ""
872 "Pages shared with another process will be moved only if the initiating "
873 "process has the B<CAP_SYS_NICE> privilege."
874 msgstr ""
875
876 #. type: Plain text
877 #: build/C/man2/migrate_pages.2:96
878 msgid ""
879 "On success B<migrate_pages>()  returns the number of pages that could not be "
880 "moved (i.e., a return of zero means that all pages were successfully "
881 "moved).  On error, it returns -1, and sets I<errno> to indicate the error."
882 msgstr ""
883
884 #. type: Plain text
885 #: build/C/man2/migrate_pages.2:106
886 msgid ""
887 "Insufficient privilege (B<CAP_SYS_NICE>)  to move pages of the process "
888 "specified by I<pid>, or insufficient privilege (B<CAP_SYS_NICE>)  to access "
889 "the specified target nodes."
890 msgstr ""
891
892 #. type: TP
893 #: build/C/man2/migrate_pages.2:106 build/C/man2/move_pages.2:187
894 #, no-wrap
895 msgid "B<ESRCH>"
896 msgstr ""
897
898 #.  FIXME There are other errors
899 #. type: Plain text
900 #: build/C/man2/migrate_pages.2:112
901 msgid "No process matching I<pid> could be found."
902 msgstr ""
903
904 #. type: Plain text
905 #: build/C/man2/migrate_pages.2:116
906 msgid ""
907 "The B<migrate_pages>()  system call first appeared on Linux in version "
908 "2.6.16."
909 msgstr ""
910
911 #. type: Plain text
912 #: build/C/man2/migrate_pages.2:130
913 msgid ""
914 "Use B<get_mempolicy>(2)  with the B<MPOL_F_MEMS_ALLOWED> flag to obtain the "
915 "set of nodes that are allowed by the calling process's cpuset.  Note that "
916 "this information is subject to change at any time by manual or automatic "
917 "reconfiguration of the cpuset."
918 msgstr ""
919
920 #. type: Plain text
921 #: build/C/man2/migrate_pages.2:142
922 msgid ""
923 "Use of B<migrate_pages>()  may result in pages whose location (node) "
924 "violates the memory policy established for the specified addresses (see "
925 "B<mbind>(2))  and/or the specified process (see B<set_mempolicy>(2)).  That "
926 "is, memory policy does not constrain the destination nodes used by "
927 "B<migrate_pages>()."
928 msgstr ""
929
930 #. type: Plain text
931 #: build/C/man2/migrate_pages.2:148 build/C/man2/move_pages.2:225
932 msgid ""
933 "The I<E<lt>numaif.hE<gt>> header is not included with glibc, but requires "
934 "installing I<libnuma-devel> or a similar package."
935 msgstr ""
936
937 #. type: Plain text
938 #: build/C/man2/migrate_pages.2:158 build/C/man2/move_pages.2:235
939 msgid ""
940 "B<get_mempolicy>(2), B<mbind>(2), B<set_mempolicy>(2), B<numa>(3), "
941 "B<numa_maps>(5), B<cpuset>(7), B<numa>(7), B<migratepages>(8), "
942 "B<numastat>(8)"
943 msgstr ""
944
945 #. type: Plain text
946 #: build/C/man2/migrate_pages.2:161
947 msgid "I<Documentation/vm/page_migration> in the Linux kernel source tree"
948 msgstr ""
949
950 #. type: TH
951 #: build/C/man2/move_pages.2:18
952 #, no-wrap
953 msgid "MOVE_PAGES"
954 msgstr ""
955
956 #. type: TH
957 #: build/C/man2/move_pages.2:18
958 #, no-wrap
959 msgid "2010-06-11"
960 msgstr ""
961
962 #. type: Plain text
963 #: build/C/man2/move_pages.2:21
964 msgid "move_pages - move individual pages of a process to another node"
965 msgstr ""
966
967 #. type: Plain text
968 #: build/C/man2/move_pages.2:27
969 #, no-wrap
970 msgid ""
971 "B<long move_pages(int >I<pid>B<, unsigned long count, void **>I<pages>B<,>\n"
972 "B<                const int *>I<nodes>B<, int *>I<status>B<, int "
973 ">I<flags>B<);>\n"
974 msgstr ""
975
976 #. type: Plain text
977 #: build/C/man2/move_pages.2:43
978 msgid ""
979 "B<move_pages>()  moves the specified I<pages> of the process I<pid> to the "
980 "memory nodes specified by I<nodes>.  The result of the move is reflected in "
981 "I<status>.  The I<flags> indicate constraints on the pages to be moved."
982 msgstr ""
983
984 #. type: Plain text
985 #: build/C/man2/move_pages.2:56
986 msgid ""
987 "I<pid> is the ID of the process in which pages are to be moved.  To move "
988 "pages in another process, the caller must be privileged (B<CAP_SYS_NICE>)  "
989 "or the real or effective user ID of the calling process must match the real "
990 "or saved-set user ID of the target process.  If I<pid> is 0, then "
991 "B<move_pages>()  moves pages of the calling process."
992 msgstr ""
993
994 #. type: Plain text
995 #: build/C/man2/move_pages.2:64
996 msgid ""
997 "I<count> is the number of pages to move.  It defines the size of the three "
998 "arrays I<pages>, I<nodes>, and I<status>."
999 msgstr ""
1000
1001 #.  FIXME what if they are not aligned?
1002 #. type: Plain text
1003 #: build/C/man2/move_pages.2:71
1004 msgid ""
1005 "I<pages> is an array of pointers to the pages that should be moved.  These "
1006 "are pointers that should be aligned to page boundaries.  Addresses are "
1007 "specified as seen by the process specified by I<pid>."
1008 msgstr ""
1009
1010 #. type: Plain text
1011 #: build/C/man2/move_pages.2:84
1012 msgid ""
1013 "I<nodes> is an array of integers that specify the desired location for each "
1014 "page.  Each element in the array is a node number.  I<nodes> can also be "
1015 "NULL, in which case B<move_pages>()  does not move any pages but instead "
1016 "will return the node where each page currently resides, in the I<status> "
1017 "array.  Obtaining the status of each page may be necessary to determine "
1018 "pages that need to be moved."
1019 msgstr ""
1020
1021 #. type: Plain text
1022 #: build/C/man2/move_pages.2:90
1023 msgid ""
1024 "I<status> is an array of integers that return the status of each page.  The "
1025 "array contains valid values only if B<move_pages>()  did not return an "
1026 "error."
1027 msgstr ""
1028
1029 #. type: Plain text
1030 #: build/C/man2/move_pages.2:102
1031 msgid ""
1032 "I<flags> specify what types of pages to move.  B<MPOL_MF_MOVE> means that "
1033 "only pages that are in exclusive use by the process are to be moved.  "
1034 "B<MPOL_MF_MOVE_ALL> means that pages shared between multiple processes can "
1035 "also be moved.  The process must be privileged (B<CAP_SYS_NICE>)  to use "
1036 "B<MPOL_MF_MOVE_ALL>."
1037 msgstr ""
1038
1039 #. type: SS
1040 #: build/C/man2/move_pages.2:102
1041 #, no-wrap
1042 msgid "Page states in the status array"
1043 msgstr ""
1044
1045 #. type: Plain text
1046 #: build/C/man2/move_pages.2:106
1047 msgid "The following values can be returned in each element of the I<status> array."
1048 msgstr ""
1049
1050 #. type: TP
1051 #: build/C/man2/move_pages.2:106
1052 #, no-wrap
1053 msgid "B<0..MAX_NUMNODES>"
1054 msgstr ""
1055
1056 #. type: Plain text
1057 #: build/C/man2/move_pages.2:109
1058 msgid "Identifies the node on which the page resides."
1059 msgstr ""
1060
1061 #. type: TP
1062 #: build/C/man2/move_pages.2:109
1063 #, no-wrap
1064 msgid "B<-EACCES>"
1065 msgstr ""
1066
1067 #. type: Plain text
1068 #: build/C/man2/move_pages.2:114
1069 msgid ""
1070 "The page is mapped by multiple processes and can be moved only if "
1071 "B<MPOL_MF_MOVE_ALL> is specified."
1072 msgstr ""
1073
1074 #. type: TP
1075 #: build/C/man2/move_pages.2:114
1076 #, no-wrap
1077 msgid "B<-EBUSY>"
1078 msgstr ""
1079
1080 #. type: Plain text
1081 #: build/C/man2/move_pages.2:120
1082 msgid ""
1083 "The page is currently busy and cannot be moved.  Try again later.  This "
1084 "occurs if a page is undergoing I/O or another kernel subsystem is holding a "
1085 "reference to the page."
1086 msgstr ""
1087
1088 #. type: TP
1089 #: build/C/man2/move_pages.2:120
1090 #, no-wrap
1091 msgid "B<-EFAULT>"
1092 msgstr ""
1093
1094 #. type: Plain text
1095 #: build/C/man2/move_pages.2:123
1096 msgid "This is a zero page or the memory area is not mapped by the process."
1097 msgstr ""
1098
1099 #. type: TP
1100 #: build/C/man2/move_pages.2:123
1101 #, no-wrap
1102 msgid "B<-EIO>"
1103 msgstr ""
1104
1105 #. type: Plain text
1106 #: build/C/man2/move_pages.2:130
1107 msgid ""
1108 "Unable to write back a page.  The page has to be written back in order to "
1109 "move it since the page is dirty and the filesystem does not provide a "
1110 "migration function that would allow the move of dirty pages."
1111 msgstr ""
1112
1113 #. type: TP
1114 #: build/C/man2/move_pages.2:130
1115 #, no-wrap
1116 msgid "B<-EINVAL>"
1117 msgstr ""
1118
1119 #. type: Plain text
1120 #: build/C/man2/move_pages.2:135
1121 msgid ""
1122 "A dirty page cannot be moved.  The filesystem does not provide a migration "
1123 "function and has no ability to write back pages."
1124 msgstr ""
1125
1126 #. type: TP
1127 #: build/C/man2/move_pages.2:135
1128 #, no-wrap
1129 msgid "B<-ENOENT>"
1130 msgstr ""
1131
1132 #. type: Plain text
1133 #: build/C/man2/move_pages.2:138
1134 msgid "The page is not present."
1135 msgstr ""
1136
1137 #. type: TP
1138 #: build/C/man2/move_pages.2:138
1139 #, no-wrap
1140 msgid "B<-ENOMEM>"
1141 msgstr ""
1142
1143 #. type: Plain text
1144 #: build/C/man2/move_pages.2:141
1145 msgid "Unable to allocate memory on target node."
1146 msgstr ""
1147
1148 #.  FIXME Is the following quite true: does the wrapper in numactl
1149 #.  do the right thing?
1150 #. type: Plain text
1151 #: build/C/man2/move_pages.2:150
1152 msgid ""
1153 "On success B<move_pages>()  returns zero.  On error, it returns -1, and sets "
1154 "I<errno> to indicate the error."
1155 msgstr ""
1156
1157 #. type: TP
1158 #: build/C/man2/move_pages.2:151
1159 #, no-wrap
1160 msgid "B<E2BIG>"
1161 msgstr ""
1162
1163 #. type: Plain text
1164 #: build/C/man2/move_pages.2:154
1165 msgid "Too many pages to move."
1166 msgstr ""
1167
1168 #. type: TP
1169 #: build/C/man2/move_pages.2:154
1170 #, no-wrap
1171 msgid "B<EACCES>"
1172 msgstr ""
1173
1174 #.  FIXME Clarify "current cpuset".  Is that the cpuset of the caller
1175 #.  or the target?
1176 #. type: Plain text
1177 #: build/C/man2/move_pages.2:159
1178 msgid "One of the target nodes is not allowed by the current cpuset."
1179 msgstr ""
1180
1181 #. type: Plain text
1182 #: build/C/man2/move_pages.2:162
1183 msgid "Parameter array could not be accessed."
1184 msgstr ""
1185
1186 #. type: Plain text
1187 #: build/C/man2/move_pages.2:169
1188 msgid ""
1189 "Flags other than B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> was specified or an "
1190 "attempt was made to migrate pages of a kernel thread."
1191 msgstr ""
1192
1193 #. type: TP
1194 #: build/C/man2/move_pages.2:169
1195 #, no-wrap
1196 msgid "B<ENODEV>"
1197 msgstr ""
1198
1199 #. type: Plain text
1200 #: build/C/man2/move_pages.2:172
1201 msgid "One of the target nodes is not online."
1202 msgstr ""
1203
1204 #. type: TP
1205 #: build/C/man2/move_pages.2:172
1206 #, no-wrap
1207 msgid "B<ENOENT>"
1208 msgstr ""
1209
1210 #. type: Plain text
1211 #: build/C/man2/move_pages.2:178
1212 msgid ""
1213 "No pages were found that require moving.  All pages are either already on "
1214 "the target node, not present, had an invalid address or could not be moved "
1215 "because they were mapped by multiple processes."
1216 msgstr ""
1217
1218 #. type: Plain text
1219 #: build/C/man2/move_pages.2:187
1220 msgid ""
1221 "The caller specified B<MPOL_MF_MOVE_ALL> without sufficient privileges "
1222 "(B<CAP_SYS_NICE>).  Or, the caller attempted to move pages of a process "
1223 "belonging to another user but did not have privilege to do so "
1224 "(B<CAP_SYS_NICE>)."
1225 msgstr ""
1226
1227 #. type: Plain text
1228 #: build/C/man2/move_pages.2:190
1229 msgid "Process does not exist."
1230 msgstr ""
1231
1232 #. type: Plain text
1233 #: build/C/man2/move_pages.2:193
1234 msgid "B<move_pages>()  first appeared on Linux in version 2.6.18."
1235 msgstr ""
1236
1237 #.  FIXME Clarify "current cpuset".  Is that the cpuset of the caller
1238 #.  or the target?
1239 #. type: Plain text
1240 #: build/C/man2/move_pages.2:209
1241 msgid ""
1242 "Use B<get_mempolicy>(2)  with the B<MPOL_F_MEMS_ALLOWED> flag to obtain the "
1243 "set of nodes that are allowed by the current cpuset.  Note that this "
1244 "information is subject to change at any time by manual or automatic "
1245 "reconfiguration of the cpuset."
1246 msgstr ""
1247
1248 #. type: Plain text
1249 #: build/C/man2/move_pages.2:219
1250 msgid ""
1251 "Use of this function may result in pages whose location (node) violates the "
1252 "memory policy established for the specified addresses (See B<mbind>(2))  "
1253 "and/or the specified process (See B<set_mempolicy>(2)).  That is, memory "
1254 "policy does not constrain the destination nodes used by B<move_pages>()."
1255 msgstr ""
1256
1257 #. type: TH
1258 #: build/C/man7/numa.7:29
1259 #, no-wrap
1260 msgid "NUMA"
1261 msgstr ""
1262
1263 #. type: TH
1264 #: build/C/man7/numa.7:29
1265 #, no-wrap
1266 msgid "2012-08-05"
1267 msgstr ""
1268
1269 #. type: Plain text
1270 #: build/C/man7/numa.7:32
1271 msgid "numa - overview of Non-Uniform Memory Architecture"
1272 msgstr ""
1273
1274 #. type: Plain text
1275 #: build/C/man7/numa.7:43
1276 msgid ""
1277 "Non-Uniform Memory Access (NUMA) refers to multiprocessor systems whose "
1278 "memory is divided into multiple memory nodes.  The access time of a memory "
1279 "node depends on the relative locations of the accessing CPU and the accessed "
1280 "node.  (This contrasts with a symmetric multiprocessor system, where the "
1281 "access time for all of the memory is the same for all CPUs.)  Normally, each "
1282 "CPU on a NUMA system has a local memory node whose contents can be accessed "
1283 "faster than the memory in the node local to another CPU or the memory on a "
1284 "bus shared by all CPUs."
1285 msgstr ""
1286
1287 #. type: SS
1288 #: build/C/man7/numa.7:43
1289 #, no-wrap
1290 msgid "NUMA system calls"
1291 msgstr ""
1292
1293 #. type: Plain text
1294 #: build/C/man7/numa.7:54
1295 msgid ""
1296 "The Linux kernel implements the following NUMA-related system calls: "
1297 "B<get_mempolicy>(2), B<mbind>(2), B<migrate_pages>(2), B<move_pages>(2), and "
1298 "B<set_mempolicy>(2).  However, applications should normally use the "
1299 "interface provided by I<libnuma>; see \"Library Support\" below."
1300 msgstr ""
1301
1302 #. type: SS
1303 #: build/C/man7/numa.7:54
1304 #, no-wrap
1305 msgid "/proc/[number]/numa_maps (since Linux 2.6.14)"
1306 msgstr ""
1307
1308 #.  See also Changelog-2.6.14
1309 #. type: Plain text
1310 #: build/C/man7/numa.7:58
1311 msgid ""
1312 "This file displays information about a process's NUMA memory policy and "
1313 "allocation."
1314 msgstr ""
1315
1316 #. type: Plain text
1317 #: build/C/man7/numa.7:62
1318 msgid ""
1319 "Each line contains information about a memory range used by the process, "
1320 "displaying\\(emamong other information\\(emthe effective memory policy for "
1321 "that memory range and on which nodes the pages have been allocated."
1322 msgstr ""
1323
1324 #. type: Plain text
1325 #: build/C/man7/numa.7:70
1326 msgid ""
1327 "I<numa_maps> is a read-only file.  When I</proc/E<lt>pidE<gt>/numa_maps> is "
1328 "read, the kernel will scan the virtual address space of the process and "
1329 "report how memory is used.  One line is displayed for each unique memory "
1330 "range of the process."
1331 msgstr ""
1332
1333 #. type: Plain text
1334 #: build/C/man7/numa.7:77
1335 msgid ""
1336 "The first field of each line shows the starting address of the memory "
1337 "range.  This field allows a correlation with the contents of the "
1338 "I</proc/E<lt>pidE<gt>/maps> file, which contains the end address of the "
1339 "range and other information, such as the access permissions and sharing."
1340 msgstr ""
1341
1342 #. type: Plain text
1343 #: build/C/man7/numa.7:85
1344 msgid ""
1345 "The second field shows the memory policy currently in effect for the memory "
1346 "range.  Note that the effective policy is not necessarily the policy "
1347 "installed by the process for that memory range.  Specifically, if the "
1348 "process installed a \"default\" policy for that range, the effective policy "
1349 "for that range will be the process policy, which may or may not be "
1350 "\"default\"."
1351 msgstr ""
1352
1353 #. type: Plain text
1354 #: build/C/man7/numa.7:88
1355 msgid ""
1356 "The rest of the line contains information about the pages allocated in the "
1357 "memory range, as follows:"
1358 msgstr ""
1359
1360 #. type: TP
1361 #: build/C/man7/numa.7:88
1362 #, no-wrap
1363 msgid "I<NE<lt>nodeE<gt>=E<lt>nr_pagesE<gt>>"
1364 msgstr ""
1365
1366 #. type: Plain text
1367 #: build/C/man7/numa.7:101
1368 msgid ""
1369 "The number of pages allocated on I<E<lt>nodeE<gt>>.  I<E<lt>nr_pagesE<gt>> "
1370 "includes only pages currently mapped by the process.  Page migration and "
1371 "memory reclaim may have temporarily unmapped pages associated with this "
1372 "memory range.  These pages may show up again only after the process has "
1373 "attempted to reference them.  If the memory range represents a shared memory "
1374 "area or file mapping, other processes may currently have additional pages "
1375 "mapped in a corresponding memory range."
1376 msgstr ""
1377
1378 #. type: TP
1379 #: build/C/man7/numa.7:101
1380 #, no-wrap
1381 msgid "I<file=E<lt>filenameE<gt>>"
1382 msgstr ""
1383
1384 #. type: Plain text
1385 #: build/C/man7/numa.7:107
1386 msgid ""
1387 "The file backing the memory range.  If the file is mapped as private, write "
1388 "accesses may have generated COW (Copy-On-Write) pages in this memory range.  "
1389 "These pages are displayed as anonymous pages."
1390 msgstr ""
1391
1392 #. type: TP
1393 #: build/C/man7/numa.7:107
1394 #, no-wrap
1395 msgid "I<heap>"
1396 msgstr ""
1397
1398 #. type: Plain text
1399 #: build/C/man7/numa.7:110
1400 msgid "Memory range is used for the heap."
1401 msgstr ""
1402
1403 #. type: TP
1404 #: build/C/man7/numa.7:110
1405 #, no-wrap
1406 msgid "I<stack>"
1407 msgstr ""
1408
1409 #. type: Plain text
1410 #: build/C/man7/numa.7:113
1411 msgid "Memory range is used for the stack."
1412 msgstr ""
1413
1414 #. type: TP
1415 #: build/C/man7/numa.7:113
1416 #, no-wrap
1417 msgid "I<huge>"
1418 msgstr ""
1419
1420 #. type: Plain text
1421 #: build/C/man7/numa.7:117
1422 msgid ""
1423 "Huge memory range.  The page counts shown are huge pages and not regular "
1424 "sized pages."
1425 msgstr ""
1426
1427 #. type: TP
1428 #: build/C/man7/numa.7:117
1429 #, no-wrap
1430 msgid "I<anon=E<lt>pagesE<gt>>"
1431 msgstr ""
1432
1433 #. type: Plain text
1434 #: build/C/man7/numa.7:120
1435 msgid "The number of anonymous page in the range."
1436 msgstr ""
1437
1438 #. type: TP
1439 #: build/C/man7/numa.7:120
1440 #, no-wrap
1441 msgid "I<dirty=E<lt>pagesE<gt>>"
1442 msgstr ""
1443
1444 #. type: Plain text
1445 #: build/C/man7/numa.7:123
1446 msgid "Number of dirty pages."
1447 msgstr ""
1448
1449 #. type: TP
1450 #: build/C/man7/numa.7:123
1451 #, no-wrap
1452 msgid "I<mapped=E<lt>pagesE<gt>>"
1453 msgstr ""
1454
1455 #. type: Plain text
1456 #: build/C/man7/numa.7:130
1457 msgid "Total number of mapped pages, if different from I<dirty> and I<anon> pages."
1458 msgstr ""
1459
1460 #. type: TP
1461 #: build/C/man7/numa.7:130
1462 #, no-wrap
1463 msgid "I<mapmax=E<lt>countE<gt>>"
1464 msgstr ""
1465
1466 #. type: Plain text
1467 #: build/C/man7/numa.7:136
1468 msgid ""
1469 "Maximum mapcount (number of processes mapping a single page) encountered "
1470 "during the scan.  This may be used as an indicator of the degree of sharing "
1471 "occurring in a given memory range."
1472 msgstr ""
1473
1474 #. type: TP
1475 #: build/C/man7/numa.7:136
1476 #, no-wrap
1477 msgid "I<swapcache=E<lt>countE<gt>>"
1478 msgstr ""
1479
1480 #. type: Plain text
1481 #: build/C/man7/numa.7:139
1482 msgid "Number of pages that have an associated entry on a swap device."
1483 msgstr ""
1484
1485 #. type: TP
1486 #: build/C/man7/numa.7:139
1487 #, no-wrap
1488 msgid "I<active=E<lt>pagesE<gt>>"
1489 msgstr ""
1490
1491 #. type: Plain text
1492 #: build/C/man7/numa.7:145
1493 msgid ""
1494 "The number of pages on the active list.  This field is shown only if "
1495 "different from the number of pages in this range.  This means that some "
1496 "inactive pages exist in the memory range that may be removed from memory by "
1497 "the swapper soon."
1498 msgstr ""
1499
1500 #. type: TP
1501 #: build/C/man7/numa.7:145
1502 #, no-wrap
1503 msgid "I<writeback=E<lt>pagesE<gt>>"
1504 msgstr ""
1505
1506 #. type: Plain text
1507 #: build/C/man7/numa.7:148
1508 msgid "Number of pages that are currently being written out to disk."
1509 msgstr ""
1510
1511 #. type: Plain text
1512 #: build/C/man7/numa.7:150
1513 msgid "No standards govern NUMA interfaces."
1514 msgstr ""
1515
1516 #. type: Plain text
1517 #: build/C/man7/numa.7:157
1518 msgid ""
1519 "The Linux NUMA system calls and I</proc> interface are available only if the "
1520 "kernel was configured and built with the B<CONFIG_NUMA> option."
1521 msgstr ""
1522
1523 #. type: SS
1524 #: build/C/man7/numa.7:157
1525 #, no-wrap
1526 msgid "Library support"
1527 msgstr ""
1528
1529 #. type: Plain text
1530 #: build/C/man7/numa.7:166
1531 msgid ""
1532 "Link with I<-lnuma> to get the system call definitions.  I<libnuma> and the "
1533 "required I<E<lt>numaif.hE<gt>> header are available in the I<numactl> "
1534 "package."
1535 msgstr ""
1536
1537 #. type: Plain text
1538 #: build/C/man7/numa.7:183
1539 msgid ""
1540 "However, applications should not use these system calls directly.  Instead, "
1541 "the higher level interface provided by the B<numa>(3)  functions in the "
1542 "I<numactl> package is recommended.  The I<numactl> package is available at "
1543 "E<.UR ftp://oss.sgi.com\\:/www\\:/projects\\:/libnuma\\:/download/> E<.UE .> "
1544 "The package is also included in some Linux distributions.  Some "
1545 "distributions include the development library and header in the separate "
1546 "I<numactl-devel> package."
1547 msgstr ""
1548
1549 #. type: Plain text
1550 #: build/C/man7/numa.7:191
1551 msgid ""
1552 "B<get_mempolicy>(2), B<mbind>(2), B<move_pages>(2), B<set_mempolicy>(2), "
1553 "B<numa>(3), B<cpuset>(7), B<numactl>(8)"
1554 msgstr ""
1555
1556 #. type: TH
1557 #: build/C/man2/set_mempolicy.2:27
1558 #, no-wrap
1559 msgid "SET_MEMPOLICY"
1560 msgstr ""
1561
1562 #. type: Plain text
1563 #: build/C/man2/set_mempolicy.2:30
1564 msgid ""
1565 "set_mempolicy - set default NUMA memory policy for a process and its "
1566 "children"
1567 msgstr ""
1568
1569 #. type: Plain text
1570 #: build/C/man2/set_mempolicy.2:36
1571 #, no-wrap
1572 msgid ""
1573 "B<int set_mempolicy(int >I<mode>B<, unsigned long *>I<nodemask>B<,>\n"
1574 "B<                  unsigned long >I<maxnode>B<);>\n"
1575 msgstr ""
1576
1577 #. type: Plain text
1578 #: build/C/man2/set_mempolicy.2:49
1579 msgid ""
1580 "B<set_mempolicy>()  sets the NUMA memory policy of the calling process, "
1581 "which consists of a policy mode and zero or more nodes, to the values "
1582 "specified by the I<mode>, I<nodemask> and I<maxnode> arguments."
1583 msgstr ""
1584
1585 #. type: Plain text
1586 #: build/C/man2/set_mempolicy.2:75
1587 msgid ""
1588 "This system call defines the default policy for the process.  The process "
1589 "policy governs allocation of pages in the process's address space outside of "
1590 "memory ranges controlled by a more specific policy set by B<mbind>(2).  The "
1591 "process default policy also controls allocation of any pages for memory "
1592 "mapped files mapped using the B<mmap>(2)  call with the B<MAP_PRIVATE> flag "
1593 "and that are only read [loaded] from by the process and of memory mapped "
1594 "files mapped using the B<mmap>(2)  call with the B<MAP_SHARED> flag, "
1595 "regardless of the access type.  The policy is applied only when a new page "
1596 "is allocated for the process.  For anonymous memory this is when the page is "
1597 "first touched by the application."
1598 msgstr ""
1599
1600 #. type: Plain text
1601 #: build/C/man2/set_mempolicy.2:89
1602 msgid ""
1603 "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
1604 "B<MPOL_INTERLEAVE> or B<MPOL_PREFERRED>.  All modes except B<MPOL_DEFAULT> "
1605 "require the caller to specify via the I<nodemask> argument one or more "
1606 "nodes."
1607 msgstr ""
1608
1609 #. type: Plain text
1610 #: build/C/man2/set_mempolicy.2:97
1611 msgid ""
1612 "The I<mode> argument may also include an optional I<mode flag>.  The "
1613 "supported I<mode flags> are:"
1614 msgstr ""
1615
1616 #. type: TP
1617 #: build/C/man2/set_mempolicy.2:97
1618 #, no-wrap
1619 msgid "B<MPOL_F_STATIC_NODES> (since Linux 2.6.26)"
1620 msgstr ""
1621
1622 #. type: Plain text
1623 #: build/C/man2/set_mempolicy.2:107
1624 msgid ""
1625 "A nonempty I<nodemask> specifies physical node ids.  Linux does will not "
1626 "remap the I<nodemask> when the process moves to a different cpuset context, "
1627 "nor when the set of nodes allowed by the process's current cpuset context "
1628 "changes."
1629 msgstr ""
1630
1631 #. type: TP
1632 #: build/C/man2/set_mempolicy.2:107
1633 #, no-wrap
1634 msgid "B<MPOL_F_RELATIVE_NODES> (since Linux 2.6.26)"
1635 msgstr ""
1636
1637 #. type: Plain text
1638 #: build/C/man2/set_mempolicy.2:133
1639 msgid ""
1640 "I<nodemask> points to a bit mask of node IDs that contains up to I<maxnode> "
1641 "bits.  The bit mask size is rounded to the next multiple of "
1642 "I<sizeof(unsigned long)>, but the kernel will use bits only up to "
1643 "I<maxnode>.  A NULL value of I<nodemask> or a I<maxnode> value of zero "
1644 "specifies the empty set of nodes.  If the value of I<maxnode> is zero, the "
1645 "I<nodemask> argument is ignored."
1646 msgstr ""
1647
1648 #. type: Plain text
1649 #: build/C/man2/set_mempolicy.2:154
1650 msgid ""
1651 "Where a I<nodemask> is required, it must contain at least one node that is "
1652 "on-line, allowed by the process's current cpuset context, [unless the "
1653 "B<MPOL_F_STATIC_NODES> mode flag is specified], and contains memory.  If the "
1654 "B<MPOL_F_STATIC_NODES> is set in I<mode> and a required I<nodemask> contains "
1655 "no nodes that are allowed by the process's current cpuset context, the "
1656 "memory policy reverts to I<local allocation>.  This effectively overrides "
1657 "the specified policy until the process's cpuset context includes one or more "
1658 "of the nodes specified by I<nodemask>."
1659 msgstr ""
1660
1661 #. type: Plain text
1662 #: build/C/man2/set_mempolicy.2:165
1663 msgid ""
1664 "The B<MPOL_DEFAULT> mode specifies that any nondefault process memory policy "
1665 "be removed, so that the memory policy \"falls back\" to the system default "
1666 "policy.  The system default policy is \"local allocation\"-- i.e., allocate "
1667 "memory on the node of the CPU that triggered the allocation.  I<nodemask> "
1668 "must be specified as NULL.  If the \"local node\" contains no free memory, "
1669 "the system will attempt to allocate memory from a \"near by\" node."
1670 msgstr ""
1671
1672 #. type: Plain text
1673 #: build/C/man2/set_mempolicy.2:182
1674 msgid ""
1675 "The B<MPOL_BIND> mode defines a strict policy that restricts memory "
1676 "allocation to the nodes specified in I<nodemask>.  If I<nodemask> specifies "
1677 "more than one node, page allocations will come from the node with the lowest "
1678 "numeric node ID first, until that node contains no free memory.  Allocations "
1679 "will then come from the node with the next highest node ID specified in "
1680 "I<nodemask> and so forth, until none of the specified nodes contain free "
1681 "memory.  Pages will not be allocated from any node not specified in the "
1682 "I<nodemask>."
1683 msgstr ""
1684
1685 #.  NOTE:  the following sentence doesn't make sense in the context
1686 #.  of set_mempolicy() -- no memory area specified.
1687 #.  To be effective the memory area should be fairly large,
1688 #.  at least 1MB or bigger.
1689 #. type: Plain text
1690 #: build/C/man2/set_mempolicy.2:196
1691 msgid ""
1692 "B<MPOL_INTERLEAVE> interleaves page allocations across the nodes specified "
1693 "in I<nodemask> in numeric node ID order.  This optimizes for bandwidth "
1694 "instead of latency by spreading out pages and memory accesses to those pages "
1695 "across multiple nodes.  However, accesses to a single page will still be "
1696 "limited to the memory bandwidth of a single node."
1697 msgstr ""
1698
1699 #. type: Plain text
1700 #: build/C/man2/set_mempolicy.2:213
1701 msgid ""
1702 "B<MPOL_PREFERRED> sets the preferred node for allocation.  The kernel will "
1703 "try to allocate pages from this node first and fall back to \"near by\" "
1704 "nodes if the preferred node is low on free memory.  If I<nodemask> specifies "
1705 "more than one node ID, the first node in the mask will be selected as the "
1706 "preferred node.  If the I<nodemask> and I<maxnode> arguments specify the "
1707 "empty set, then the policy specifies \"local allocation\" (like the system "
1708 "default policy discussed above)."
1709 msgstr ""
1710
1711 #. type: Plain text
1712 #: build/C/man2/set_mempolicy.2:220
1713 msgid ""
1714 "The process memory policy is preserved across an B<execve>(2), and is "
1715 "inherited by child processes created using B<fork>(2)  or B<clone>(2)."
1716 msgstr ""
1717
1718 #. type: Plain text
1719 #: build/C/man2/set_mempolicy.2:227
1720 msgid ""
1721 "On success, B<set_mempolicy>()  returns 0; on error, -1 is returned and "
1722 "I<errno> is set to indicate the error."
1723 msgstr ""
1724
1725 #. type: Plain text
1726 #: build/C/man2/set_mempolicy.2:272
1727 msgid ""
1728 "I<mode> is invalid.  Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> is "
1729 "nonempty, or I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and I<nodemask> "
1730 "is empty.  Or, I<maxnode> specifies more than a page worth of bits.  Or, "
1731 "I<nodemask> specifies one or more node IDs that are greater than the maximum "
1732 "supported node ID.  Or, none of the node IDs specified by I<nodemask> are "
1733 "on-line and allowed by the process's current cpuset context, or none of the "
1734 "specified nodes contain memory.  Or, the I<mode> argument specified both "
1735 "B<MPOL_F_STATIC_NODES> and B<MPOL_F_RELATIVE_NODES>."
1736 msgstr ""
1737
1738 #. type: Plain text
1739 #: build/C/man2/set_mempolicy.2:279
1740 msgid ""
1741 "The B<set_mempolicy>(), system call was added to the Linux kernel in version "
1742 "2.6.7."
1743 msgstr ""
1744
1745 #. type: Plain text
1746 #: build/C/man2/set_mempolicy.2:286
1747 msgid ""
1748 "Process policy is not remembered if the page is swapped out.  When such a "
1749 "page is paged back in, it will use the policy of the process or memory range "
1750 "that is in effect at the time the page is allocated."
1751 msgstr ""
1752
1753 #. type: Plain text
1754 #: build/C/man2/set_mempolicy.2:298
1755 msgid ""
1756 "B<get_mempolicy>(2), B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<numa>(3), "
1757 "B<cpuset>(7), B<numa>(7), B<numactl>(8)"
1758 msgstr ""