Debian Codegraph @

templates/man2/get_mempolicy.2.pot

raw
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: 2026-06-05 06:25+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "get_mempolicy"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "get_mempolicy - retrieve NUMA memory policy for a thread"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid ""
63 "NUMA (Non-Uniform Memory Access) policy library (I<libnuma>,\\ I<-lnuma>)"
64 msgstr ""
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr ""
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 msgid "B<#include E<lt>numaif.hE<gt>>"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
81 #: opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<long get_mempolicy(>unsigned long maxnode;\n"
85 "B< int *>I<mode>B<,>\n"
86 "B< unsigned long >I<nodemask>B<[(>I<maxnode>B< + ULONG_WIDTH - 1)>\n"
87 "B</ ULONG_WIDTH],>\n"
88 "B< unsigned long >I<maxnode>B<, void *>I<addr>B<,>\n"
89 "B< unsigned long >I<flags>B<);>\n"
90 msgstr ""
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr ""
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid ""
103 "B<get_mempolicy>() retrieves the NUMA policy of the calling thread or of a "
104 "memory address, depending on the setting of I<flags>."
105 msgstr ""
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "A NUMA machine has different memory controllers with different distances to "
112 "specific CPUs. The memory policy defines from which node memory is "
113 "allocated for the thread."
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "If I<flags> is specified as 0, then information about the calling thread's "
121 "default policy (as set by B<set_mempolicy>(2)) is returned, in the buffers "
122 "pointed to by I<mode> and I<nodemask>. The value returned in these "
123 "arguments may be used to restore the thread's policy to its state at the "
124 "time of the call to B<get_mempolicy>() using B<set_mempolicy>(2). When "
125 "I<flags> is 0, I<addr> must be specified as NULL."
126 msgstr ""
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "If I<flags> specifies B<MPOL_F_MEMS_ALLOWED> (available since Linux 2.6.24), "
133 "the I<mode> argument is ignored and the set of nodes (memories) that the "
134 "thread is allowed to specify in subsequent calls to B<mbind>(2) or "
135 "B<set_mempolicy>(2) (in the absence of any I<mode flags>) is returned in "
136 "I<nodemask>. It is not permitted to combine B<MPOL_F_MEMS_ALLOWED> with "
137 "either B<MPOL_F_ADDR> or B<MPOL_F_NODE>."
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "If I<flags> specifies B<MPOL_F_ADDR>, then information is returned about the "
145 "policy governing the memory address given in I<addr>. This policy may be "
146 "different from the thread's default policy if B<mbind>(2) or one of the "
147 "helper functions described in B<numa>(3) has been used to establish a "
148 "policy for the memory range containing I<addr>."
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "If the I<mode> argument is not NULL, then B<get_mempolicy>() will store the "
156 "policy mode and any optional I<mode flags> of the requested NUMA policy in "
157 "the location pointed to by this argument. If I<nodemask> is not NULL, then "
158 "the nodemask associated with the policy will be stored in the location "
159 "pointed to by this argument. I<maxnode> specifies the number of node IDs "
160 "that can be stored into I<nodemask>\\[em]that is, the maximum node ID plus "
161 "one. The value specified by I<maxnode> is always rounded to a multiple of "
162 "I<sizeof(unsigned\\ long)*8>."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "If I<flags> specifies both B<MPOL_F_NODE> and B<MPOL_F_ADDR>, "
170 "B<get_mempolicy>() will return the node ID of the node on which the address "
171 "I<addr> is allocated into the location pointed to by I<mode>. If no page "
172 "has yet been allocated for the specified address, B<get_mempolicy>() will "
173 "allocate a page as if the thread had performed a read (load) access to that "
174 "address, and return the ID of the node where that page was allocated."
175 msgstr ""
176
177 #. Note: code returns next interleave node via 'mode' argument -Lee Schermerhorn
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "If I<flags> specifies B<MPOL_F_NODE>, but not B<MPOL_F_ADDR>, and the "
183 "thread's current policy is B<MPOL_INTERLEAVE> or "
184 "B<MPOL_WEIGHTED_INTERLEAVE>, then B<get_mempolicy>() will return in the "
185 "location pointed to by a non-NULL I<mode> argument, the node ID of the next "
186 "node that will be used for interleaving of internal kernel pages allocated "
187 "on behalf of the thread. These allocations include pages for memory-mapped "
188 "files in process memory ranges mapped using the B<mmap>(2) call with the "
189 "B<MAP_PRIVATE> flag for read accesses, and in memory ranges mapped with the "
190 "B<MAP_SHARED> flag for all accesses."
191 msgstr ""
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid "Other flag values are reserved."
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid "For an overview of the possible policies see B<set_mempolicy>(2)."
203 msgstr ""
204
205 #. type: SH
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "RETURN VALUE"
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "On success, B<get_mempolicy>() returns 0; on error, -1 is returned and "
217 "I<errno> is set to indicate the error."
218 msgstr ""
219
220 #. type: SH
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "ERRORS"
225 msgstr ""
226
227 #. type: TP
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "B<EFAULT>"
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "Part of all of the memory range specified by I<nodemask> and I<maxnode> "
239 "points outside your accessible address space."
240 msgstr ""
241
242 #. type: TP
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "B<EINVAL>"
247 msgstr ""
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "The value specified by I<maxnode> is less than the number of node IDs "
254 "supported by the system. Or I<flags> specified values other than "
255 "B<MPOL_F_NODE> or B<MPOL_F_ADDR>; or I<flags> specified B<MPOL_F_ADDR> and "
256 "I<addr> is NULL, or I<flags> did not specify B<MPOL_F_ADDR> and I<addr> is "
257 "not NULL. Or, I<flags> specified B<MPOL_F_NODE> but not B<MPOL_F_ADDR> and "
258 "the current thread policy is neither B<MPOL_INTERLEAVE> nor "
259 "B<MPOL_WEIGHTED_INTERLEAVE>. Or, I<flags> specified B<MPOL_F_MEMS_ALLOWED> "
260 "with either B<MPOL_F_ADDR> or B<MPOL_F_NODE>. (And there are other "
261 "B<EINVAL> cases.)"
262 msgstr ""
263
264 #. type: SH
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 #, no-wrap
268 msgid "STANDARDS"
269 msgstr ""
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 msgid "Linux."
275 msgstr ""
276
277 #. type: SH
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "HISTORY"
282 msgstr ""
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid "Linux 2.6.7."
288 msgstr ""
289
290 #. type: SH
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "NOTES"
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid "For information on library support, see B<numa>(7)."
301 msgstr ""
302
303 #. type: SH
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "SEE ALSO"
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid ""
314 "B<getcpu>(2), B<mbind>(2), B<mmap>(2), B<set_mempolicy>(2), B<numa>(3), "
315 "B<numa>(7), B<numactl>(8)"
316 msgstr ""
317
318 #. type: TH
319 #: debian-trixie
320 #, no-wrap
321 msgid "2024-05-02"
322 msgstr ""
323
324 #. type: TH
325 #: debian-trixie
326 #, no-wrap
327 msgid "Linux man-pages 6.9.1"
328 msgstr ""
329
330 #. type: Plain text
331 #: debian-trixie
332 msgid "NUMA (Non-Uniform Memory Access) policy library (I<libnuma>, I<-lnuma>)"
333 msgstr ""
334
335 #. type: Plain text
336 #: debian-trixie fedora-44 fedora-rawhide
337 #, no-wrap
338 msgid ""
339 "B<long get_mempolicy(int *>I<mode>B<,>\n"
340 "B< unsigned long >I<nodemask>B<[(.>I<maxnode>B< + ULONG_WIDTH - 1)>\n"
341 "B</ ULONG_WIDTH],>\n"
342 "B< unsigned long >I<maxnode>B<, void *>I<addr>B<,>\n"
343 "B< unsigned long >I<flags>B<);>\n"
344 msgstr ""
345
346 #. type: TH
347 #: fedora-44 fedora-rawhide
348 #, no-wrap
349 msgid "2024-12-14"
350 msgstr ""
351
352 #. type: TH
353 #: fedora-44 fedora-rawhide
354 #, no-wrap
355 msgid "Linux man-pages 6.13"
356 msgstr ""
357
358 #. type: TH
359 #: mageia-cauldron
360 #, no-wrap
361 msgid "Linux man-pages 6.17"
362 msgstr ""
363
364 #. type: TH
365 #: opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "Linux man-pages (unreleased)"
368 msgstr ""