OSDN Git Service

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