Debian Codegraph @

po/ru/man2/mbind.2.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # aereiae <[email protected]>, 2014.
5 # Alexey <[email protected]>, 2015.
6 # Azamat Hackimov <[email protected]>, 2013-2017.
7 # Dmitriy S. Seregin <[email protected]>, 2013.
8 # Dmitry Bolkhovskikh <[email protected]>, 2017.
9 # ITriskTI <[email protected]>, 2013.
10 # Max Is <[email protected]>, 2016.
11 # Yuri Kozlov <[email protected]>, 2011-2019.
12 # Иван Павлов <[email protected]>, 2017.
13 # Малянов Евгений Викторович <[email protected]>, 2014.
14 msgid ""
15 msgstr ""
16 "Project-Id-Version: manpages-l10n\n"
17 "POT-Creation-Date: 2026-06-05 06:30+0200\n"
18 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
19 "Last-Translator: Yuri Kozlov <[email protected]>\n"
20 "Language-Team: Russian <[email protected]>\n"
21 "Language: ru\n"
22 "MIME-Version: 1.0\n"
23 "Content-Type: text/plain; charset=UTF-8\n"
24 "Content-Transfer-Encoding: 8bit\n"
25 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
26 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
27 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
28 "X-Generator: Lokalize 2.0\n"
29
30 #. type: TH
31 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
32 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
33 #, no-wrap
34 msgid "mbind"
35 msgstr "mbind"
36
37 #. type: TH
38 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
39 #: opensuse-tumbleweed
40 #, no-wrap
41 msgid "2026-02-08"
42 msgstr "8 февраля 2026 г."
43
44 #. type: TH
45 #: archlinux debian-unstable
46 #, fuzzy, no-wrap
47 #| msgid "Linux man-pages 6.17"
48 msgid "Linux man-pages 6.18"
49 msgstr "Справочные страницы Linux 6.17"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "NAME"
56 msgstr "НАИМЕНОВАНИЕ"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "mbind - set memory policy for a memory range"
62 msgstr "mbind - устанавливает политику на область памяти"
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "LIBRARY"
69 msgstr "БИБЛИОТЕКА"
70
71 #. type: Plain text
72 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
73 #: opensuse-leap-16-1 opensuse-tumbleweed
74 #, fuzzy
75 #| msgid ""
76 #| "NUMA (Non-Uniform Memory Access) policy library (I<libnuma>, I<-lnuma>)"
77 msgid ""
78 "NUMA (Non-Uniform Memory Access) policy library (I<libnuma>,\\ I<-lnuma>)"
79 msgstr ""
80 "Библиотека политик NUMA (неоднородный доступ к памяти) (I<libnuma>, I<-"
81 "lnuma>)"
82
83 #. type: SH
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid "SYNOPSIS"
88 msgstr "СИНТАКСИС"
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid "B<#include E<lt>numaif.hE<gt>>\n"
95 msgstr "B<#include E<lt>numaif.hE<gt>>\n"
96
97 #. type: Plain text
98 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
99 #: opensuse-tumbleweed
100 #, fuzzy, no-wrap
101 #| msgid ""
102 #| "B<long mbind(void >I<addr>B<[.>I<len>B<], unsigned long >I<len>B<, int >I<mode>B<,>\n"
103 #| "B< const unsigned long >I<nodemask>B<[(.>I<maxnode>B< + ULONG_WIDTH - 1)>\n"
104 #| "B</ ULONG_WIDTH],>\n"
105 #| "B< unsigned long >I<maxnode>B<, unsigned int >I<flags>B<);>\n"
106 msgid ""
107 "B<long mbind(>unsigned long size, unsigned long maxnode;\n"
108 "B< void >I<addr>B<[>I<size>B<], unsigned long >I<size>B<, int >I<mode>B<,>\n"
109 "B< const unsigned long >I<nodemask>B<[(>I<maxnode>B< + ULONG_WIDTH - 1)>\n"
110 "B</ ULONG_WIDTH],>\n"
111 "B< unsigned long >I<maxnode>B<, unsigned int >I<flags>B<);>\n"
112 msgstr ""
113 "B<long mbind(void >I<addr>B<[.>I<len>B<], unsigned long >I<len>B<, int >I<mode>B<,>\n"
114 "B< const unsigned long >I<nodemask>B<[(.>I<maxnode>B< + ULONG_WIDTH - 1)>\n"
115 "B</ ULONG_WIDTH],>\n"
116 "B< unsigned long >I<maxnode>B<, unsigned int >I<flags>B<);>\n"
117
118 #. type: SH
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, no-wrap
122 msgid "DESCRIPTION"
123 msgstr "ОПИСАНИЕ"
124
125 #. type: Plain text
126 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
127 #: opensuse-leap-16-1 opensuse-tumbleweed
128 #, fuzzy
129 #| msgid ""
130 #| "B<mbind>() sets the NUMA memory policy, which consists of a policy mode "
131 #| "and zero or more nodes, for the memory range starting with I<addr> and "
132 #| "continuing for I<len> bytes. The memory policy defines from which node "
133 #| "memory is allocated."
134 msgid ""
135 "B<mbind>() sets the NUMA memory policy, which consists of a policy mode and "
136 "zero or more nodes, for the memory range starting with I<addr> and "
137 "continuing for I<size> bytes. The memory policy defines from which node "
138 "memory is allocated."
139 msgstr ""
140 "Вызов B<mbind>() устанавливает политику памяти NUMA, состоящую из режима "
141 "политики и нуля или более узлов, на область памяти, начинающуюся с I<addr> и "
142 "длиной I<len> байт. Политикой памяти задаётся на каком узле будет выделяться "
143 "память."
144
145 #. type: Plain text
146 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
147 #: opensuse-leap-16-1 opensuse-tumbleweed
148 #, fuzzy
149 #| msgid ""
150 #| "If the memory range specified by the I<addr> and I<len> arguments "
151 #| "includes an \"anonymous\" region of memory\\(emthat is a region of memory "
152 #| "created using the B<mmap>(2) system call with the B<MAP_ANONYMOUS>\\"
153 #| "(emor a memory-mapped file, mapped using the B<mmap>(2) system call with "
154 #| "the B<MAP_PRIVATE> flag, pages will be allocated only according to the "
155 #| "specified policy when the application writes (stores) to the page. For "
156 #| "anonymous regions, an initial read access will use a shared page in the "
157 #| "kernel containing all zeros. For a file mapped with B<MAP_PRIVATE>, an "
158 #| "initial read access will allocate pages according to the memory policy of "
159 #| "the thread that causes the page to be allocated. This may not be the "
160 #| "thread that called B<mbind>()."
161 msgid ""
162 "If the memory range specified by the I<addr> and I<size> arguments includes "
163 "an \"anonymous\" region of memory\\[em]that is a region of memory created "
164 "using the B<mmap>(2) system call with the B<MAP_ANONYMOUS>\\[em]or a memory-"
165 "mapped file, mapped using the B<mmap>(2) system call with the "
166 "B<MAP_PRIVATE> flag, pages will be allocated only according to the specified "
167 "policy when the application writes (stores) to the page. For anonymous "
168 "regions, an initial read access will use a shared page in the kernel "
169 "containing all zeros. For a file mapped with B<MAP_PRIVATE>, an initial "
170 "read access will allocate pages according to the memory policy of the thread "
171 "that causes the page to be allocated. This may not be the thread that "
172 "called B<mbind>()."
173 msgstr ""
174 "Если область памяти, заданная аргументами I<addr> и I<len>, включает "
175 "«анонимную» область памяти — область памяти, созданную с помощью системного "
176 "вызова B<mmap>(2) с аргументом B<MAP_ANONYMOUS> — или файл, отображённый в "
177 "память с помощью вызова B<mmap>(2) с флагом B<MAP_PRIVATE>, то страницы "
178 "будут выделены в соответствии с указанной политикой только когда приложение "
179 "выполняет запись (сохранение) страницы. Для анонимных областей при "
180 "первоначальном доступе на чтение будет использоваться общая страница ядра, "
181 "содержащая только нули. Для отображённого файла с флагом B<MAP_PRIVATE>, при "
182 "первоначальном доступе на чтение будут выделены страницы в соответствии с "
183 "политикой памяти нити, для которой происходит выделение страницы. Это может "
184 "быть не та нить, которая вызвала B<mbind>()."
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid ""
190 "The specified policy will be ignored for any B<MAP_SHARED> mappings in the "
191 "specified memory range. Rather the pages will be allocated according to the "
192 "memory policy of the thread that caused the page to be allocated. Again, "
193 "this may not be the thread that called B<mbind>()."
194 msgstr ""
195 "Указанная политика в заданной области памяти будет игнорироваться для всех "
196 "отображений B<MAP_SHARED>. Скорее всего, страницы будут выделены согласно "
197 "политике памяти нити, для которой происходит выделение страницы. Но опять "
198 "таки, это может быть не та нить, которая вызвала B<mbind>()."
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "If the specified memory range includes a shared memory region created using "
205 "the B<shmget>(2) system call and attached using the B<shmat>(2) system "
206 "call, pages allocated for the anonymous or shared memory region will be "
207 "allocated according to the policy specified, regardless of which process "
208 "attached to the shared memory segment causes the allocation. If, however, "
209 "the shared memory region was created with the B<SHM_HUGETLB> flag, the huge "
210 "pages will be allocated according to the policy specified only if the page "
211 "allocation is caused by the process that calls B<mbind>() for that region."
212 msgstr ""
213 "Если заданная область памяти включает общую область памяти, созданную с "
214 "помощью системного вызова B<shmget>(2) и подключённую с помощью системного "
215 "вызова B<shmat>(2), то страницы, выделяемые для анонимной или общей области "
216 "памяти, будут выделены согласно указанной политике, независимо от того, "
217 "какой процесс подключил сегмент общей памяти, что вызвало выделение. Однако, "
218 "если общая область памяти была создана с флагом B<SHM_HUGETLB>, то огромные "
219 "страницы будут выделяться согласно указанной политике, только если выделение "
220 "страницы происходит из-за процесса, который вызвал B<mbind>() для этой "
221 "области."
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "By default, B<mbind>() has an effect only for new allocations; if the pages "
228 "inside the range have been already touched before setting the policy, then "
229 "the policy has no effect. This default behavior may be overridden by the "
230 "B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> flags described below."
231 msgstr ""
232 "По умолчанию, B<mbind>() учитывается только при новых выделениях; если "
233 "страницы внутри области уже были использованы до настройки политики, то "
234 "политика не применяется. Такое поведение можно изменить с помощью флагов "
235 "B<MPOL_MF_MOVE> и B<MPOL_MF_MOVE_ALL>, описанных далее."
236
237 #. type: Plain text
238 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
239 #: opensuse-leap-16-1 opensuse-tumbleweed
240 #, fuzzy
241 #| msgid ""
242 #| "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
243 #| "B<MPOL_INTERLEAVE>, B<MPOL_PREFERRED>, or B<MPOL_LOCAL> (which are "
244 #| "described in detail below). All policy modes except B<MPOL_DEFAULT> "
245 #| "require the caller to specify the node or nodes to which the mode "
246 #| "applies, via the I<nodemask> argument."
247 msgid ""
248 "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
249 "B<MPOL_INTERLEAVE>, B<MPOL_WEIGHTED_INTERLEAVE>, B<MPOL_PREFERRED>, "
250 "B<MPOL_PREFERRED_MANY>, or B<MPOL_LOCAL> (which are described in detail "
251 "below). All policy modes except B<MPOL_DEFAULT> require the caller to "
252 "specify the node or nodes to which the mode applies, via the I<nodemask> "
253 "argument."
254 msgstr ""
255 "В аргументе I<mode> должно быть указано одно из следующих значений: "
256 "B<MPOL_DEFAULT>, B<MPOL_BIND>, B<MPOL_INTERLEAVE>, B<MPOL_PREFERRED> или "
257 "B<MPOL_LOCAL> (описано далее). Для всех режимов политики, за исключением "
258 "B<MPOL_DEFAULT>, требуется, чтобы вызывающий указывал в аргументе "
259 "I<nodemask> узел или узлы, для которых применяется режим."
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "The I<mode> argument may also include an optional I<mode flag>. The "
266 "supported I<mode flags> are:"
267 msgstr ""
268 "Аргумент I<mode> также может содержать необязательный I<флаг режима>. "
269 "Поддерживаемые I<флаги режима>:"
270
271 #. type: TP
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 #, no-wrap
275 msgid "B<MPOL_F_NUMA_BALANCING> (since Linux 5.15)"
276 msgstr "B<MPOL_F_NUMA_BALANCING> (начиная с Linux 5.15)"
277
278 #. commit bda420b985054a3badafef23807c4b4fa38a3dff
279 #. commit 6d2aec9e123bb9c49cb5c7fc654f25f81e688e8c
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "When I<mode> is B<MPOL_BIND>, enable the kernel NUMA balancing for the task "
285 "if it is supported by the kernel. If the flag isn't supported by the "
286 "kernel, or is used with I<mode> other than B<MPOL_BIND>, -1 is returned and "
287 "I<errno> is set to B<EINVAL>."
288 msgstr ""
289
290 #. type: TP
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "B<MPOL_F_STATIC_NODES> (since Linux-2.6.26)"
295 msgstr "B<MPOL_F_STATIC_NODES> (начиная с Linux-2.6.26)"
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 ""
301 "A nonempty I<nodemask> specifies physical node IDs. Linux does not remap "
302 "the I<nodemask> when the thread moves to a different cpuset context, nor "
303 "when the set of nodes allowed by the thread's current cpuset context changes."
304 msgstr ""
305 "В аргументе I<nodemask> указываются идентификаторы физических узлов. Linux "
306 "не пересоставляет I<nodemask>, если нить перемещается в другой контекст "
307 "набора процессоров или когда изменяется набор узлов, который доступен нити "
308 "согласно текущему контексту набора процессоров."
309
310 #. type: TP
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "B<MPOL_F_RELATIVE_NODES> (since Linux-2.6.26)"
315 msgstr "B<MPOL_F_RELATIVE_NODES> (начиная с Linux-2.6.26)"
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "A nonempty I<nodemask> specifies node IDs that are relative to the set of "
322 "node IDs allowed by the thread's current cpuset."
323 msgstr ""
324 "В аргументе I<nodemask> указываются идентификаторы узлов из набора "
325 "идентификаторов узлов, разрешённых нити текущим контекстом набора "
326 "процессоров."
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "I<nodemask> points to a bit mask of nodes containing up to I<maxnode> bits. "
333 "The bit mask size is rounded to the next multiple of I<sizeof(unsigned "
334 "long)>, but the kernel will use bits only up to I<maxnode>. A NULL value of "
335 "I<nodemask> or a I<maxnode> value of zero specifies the empty set of nodes. "
336 "If the value of I<maxnode> is zero, the I<nodemask> argument is ignored. "
337 "Where a I<nodemask> is required, it must contain at least one node that is "
338 "on-line, allowed by the thread's current cpuset context (unless the "
339 "B<MPOL_F_STATIC_NODES> mode flag is specified), and contains memory."
340 msgstr ""
341 "В I<nodemask> содержится битовая маска узлов, в которой содержится до "
342 "I<maxnode> бит. Размер битовой маски округляется до следующего кратного "
343 "значения I<sizeof(unsigned long)>, но ядром будет использовано только до "
344 "I<maxnode> бит. Значением NULL в I<nodemask> или значением I<maxnode> равным "
345 "0 задаётся пустой набор узлов. Если значение I<maxnode> равно 0, то аргумент "
346 "I<nodemask> игнорируется. Там, где требуется I<nodemask>, его значение "
347 "должно содержать, как минимум, один работающий узел, который разрешён нити "
348 "текущим контекстом набора процессоров (если не указан флаг "
349 "B<MPOL_F_STATIC_NODES>) и у которого имеется память."
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid "The I<mode> argument must include one of the following values:"
355 msgstr "Аргумент I<mode> должен включать одно из следующих значений:"
356
357 #. type: TP
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "B<MPOL_DEFAULT>"
362 msgstr "B<MPOL_DEFAULT>"
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "This mode requests that any nondefault policy be removed, restoring default "
369 "behavior. When applied to a range of memory via B<mbind>(), this means to "
370 "use the thread memory policy, which may have been set with "
371 "B<set_mempolicy>(2). If the mode of the thread memory policy is also "
372 "B<MPOL_DEFAULT>, the system-wide default policy will be used. The system-"
373 "wide default policy allocates pages on the node of the CPU that triggers the "
374 "allocation. For B<MPOL_DEFAULT>, the I<nodemask> and I<maxnode> arguments "
375 "must be specify the empty set of nodes."
376 msgstr ""
377 "Этот режим запрашивает удаление любой политики не по умолчанию и "
378 "восстановление поведения по умолчанию. Если он применяется к области памяти "
379 "посредством B<mbind>(), то это означает использование политики памяти нити, "
380 "которая могла быть установлена с помощью B<set_mempolicy>(2). Если режим "
381 "политики памяти нити также равен B<MPOL_DEFAULT>, то будет задействована "
382 "системная политика по умолчанию. При системной политике по умолчанию "
383 "выделяются страницы на том узле ЦП, на котором было запрошено выделение. Для "
384 "B<MPOL_DEFAULT> в аргументах I<nodemask> и I<maxnode> должен быть указан "
385 "пустой набор узлов."
386
387 #. type: TP
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "B<MPOL_BIND>"
392 msgstr "B<MPOL_BIND>"
393
394 #. commit 19770b32609b6bf97a3dece2529089494cbfc549
395 #. type: Plain text
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 msgid ""
399 "This mode specifies a strict policy that restricts memory allocation to the "
400 "nodes specified in I<nodemask>. If I<nodemask> specifies more than one "
401 "node, page allocations will come from the node with sufficient free memory "
402 "that is closest to the node where the allocation takes place. Pages will "
403 "not be allocated from any node not specified in the IR nodemask . (Before "
404 "Linux 2.6.26, page allocations came from the node with the lowest numeric "
405 "node ID first, until that node contained no free memory. Allocations then "
406 "came from the node with the next highest node ID specified in I<nodemask> "
407 "and so forth, until none of the specified nodes contained free memory.)"
408 msgstr ""
409 "Этот режим задаёт жёсткую политику, при которой выделение памяти ограничено "
410 "узлами, заданными в I<nodemask>. Если в I<nodemask> указано более одного "
411 "узла, то выделение страниц начнётся с узла с достаточным объёмом свободной "
412 "памяти, который наиболее близок к узлу, где запрошено выделение. Страницы не "
413 "выделяются на узлах, не указанных в IR nodemask(до Linux 2.6.26 выделение "
414 "страниц происходило начиная с узла с меньшим номером идентификатора, и "
415 "продолжится до тех пор, пока на нём не кончится свободная память. Затем "
416 "выделение продолжится на узле со следующим большим номером идентификатора, "
417 "указанного в I<nodemask>, и т.д. до тех пор, пока на всех заданных узлах не "
418 "закончится свободная память)."
419
420 #. type: TP
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 #, no-wrap
424 msgid "B<MPOL_INTERLEAVE>"
425 msgstr "B<MPOL_INTERLEAVE>"
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 msgid ""
431 "This mode specifies that page allocations be interleaved across the set of "
432 "nodes specified in I<nodemask>. This optimizes for bandwidth instead of "
433 "latency by spreading out pages and memory accesses to those pages across "
434 "multiple nodes. To be effective the memory area should be fairly large, at "
435 "least 1\\ MB or bigger with a fairly uniform access pattern. Accesses to a "
436 "single page of the area will still be limited to the memory bandwidth of a "
437 "single node."
438 msgstr ""
439 "Этот режим задаёт, что при выделении страниц нужно выполнять чередование "
440 "узлов, которые указаны в I<nodemask>. Это оптимизирует использование полосы "
441 "пропускания, но не задержку, вовлекая при доступ к страницам и памяти "
442 "множество узлов. Чтобы это дало эффект, область памяти должна быть "
443 "достаточно большой, не менее 1\\ МБ или более, и характер доступа должен "
444 "быть достаточно равномерным. Доступ к одной странице области будет по "
445 "прежнему ограничен размером полосы пропускания одного узла."
446
447 #. type: TP
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "B<MPOL_WEIGHTED_INTERLEAVE> (since Linux 6.9)"
452 msgstr "B<MPOL_WEIGHTED_INTERLEAVE> (начиная с Linux 6.9)"
453
454 #. commit fa3bea4e1f8202d787709b7e3654eb0a99aed758
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid ""
459 "This mode interleaves page allocations across the nodes specified in "
460 "I<nodemask> according to the weights in I</sys/kernel/mm/mempolicy/"
461 "weighted_interleave>. For example, if bits 0, 2, and 5 are set in "
462 "I<nodemask>, and the contents of I</sys/kernel/mm/mempolicy/"
463 "weighted_interleave/node0>, I</sys/>.\\|.\\|.I</node2>, and I</sys/>.\\|."
464 "\\|.I</node5> are 4, 7, and 9, respectively, then pages in this region will "
465 "be allocated on nodes 0, 2, and 5 in a 4:7:9 ratio."
466 msgstr ""
467
468 #. type: TP
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 #, no-wrap
472 msgid "B<MPOL_PREFERRED>"
473 msgstr "B<MPOL_PREFERRED>"
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 msgid ""
479 "This mode sets the preferred node for allocation. The kernel will try to "
480 "allocate pages from this node first and fall back to other nodes if the "
481 "preferred nodes is low on free memory. If I<nodemask> specifies more than "
482 "one node ID, the first node in the mask will be selected as the preferred "
483 "node. If the I<nodemask> and I<maxnode> arguments specify the empty set, "
484 "then the memory is allocated on the node of the CPU that triggered the "
485 "allocation."
486 msgstr ""
487 "В этом режиме устанавливается предпочтительный узел для выделения. Ядро "
488 "сначала будет пытаться выделить страницы на этом узле и перейдёт на другие "
489 "узлы, если на предпочтительном узле недостаточно свободной памяти. Если в "
490 "I<nodemask> задано более одного идентификатора узла, то в качестве "
491 "предпочтительного будет выбран первый из маски. Если в аргументах "
492 "I<nodemask> и I<maxnode> указан пустой набор, то память будет выделена на "
493 "узле ЦП, на котором запросили выделение."
494
495 #. type: TP
496 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
497 #: opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "B<MPOL_PREFERRED_MANY> (since Linux 5.15)"
500 msgstr "B<MPOL_PREFERRED_MANY> (начиная с Linux 5.15)"
501
502 #. commit b27abaccf8e8b012f126da0c2a1ab32723ec8b9f
503 #. type: Plain text
504 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
505 #: opensuse-tumbleweed
506 msgid "Specifies a set of nodes for allocation; see B<set_mempolicy>(2)."
507 msgstr ""
508
509 #. type: TP
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 #, no-wrap
513 msgid "B<MPOL_LOCAL> (since Linux 3.8)"
514 msgstr "B<MPOL_LOCAL> (начиная с Linux 3.8)"
515
516 #. commit 479e2802d09f1e18a97262c4c6f8f17ae5884bd8
517 #. commit f2a07f40dbc603c15f8b06e6ec7f768af67b424f
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 msgid ""
522 "This mode specifies \"local allocation\"; the memory is allocated on the "
523 "node of the CPU that triggered the allocation (the \"local node\"). The "
524 "I<nodemask> and I<maxnode> arguments must specify the empty set. If the "
525 "\"local node\" is low on free memory, the kernel will try to allocate memory "
526 "from other nodes. The kernel will allocate memory from the \"local node\" "
527 "whenever memory for this node is available. If the \"local node\" is not "
528 "allowed by the thread's current cpuset context, the kernel will try to "
529 "allocate memory from other nodes. The kernel will allocate memory from the "
530 "\"local node\" whenever it becomes allowed by the thread's current cpuset "
531 "context. By contrast, B<MPOL_DEFAULT> reverts to the memory policy of the "
532 "thread (which may be set via B<set_mempolicy>(2)); that policy may be "
533 "something other than \"local allocation\"."
534 msgstr ""
535 "Этот режим устанавливает «локальное выделение»; памяти выделяется на узле с "
536 "ЦП, на котором запросили выделение («локальный узел»). Аргументы I<nodemask> "
537 "и I<maxnode> должны содержать пустой набор. Если на «локальном узле» не "
538 "хватает свободной памяти, то ядро попытается выделить память на других "
539 "узлах. Ядро выделит памяти на «локальном узле» сколько бы ни было на нём "
540 "памяти. Если «локальный узел» не разрешён для нити текущим контекстом набора "
541 "процессоров, то ядро попытается выделить память на других узлах. Ядро "
542 "выделит памяти на «локальном узле» независимо от того, станет ли он "
543 "разрешённым для нити текущим контекстом набора процессоров. В отличии от "
544 "этого , B<MPOL_DEFAULT> восстанавливает политику памяти нити (которая может "
545 "быть задана с помощью B<set_mempolicy>(2)); эта политика может быть другой, "
546 "не «локальным выделением»."
547
548 #. According to the kernel code, the following is not true
549 #. --Lee Schermerhorn
550 #. In Linux 2.6.16 or later the kernel will also try to move pages
551 #. to the requested node with this flag.
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid ""
556 "If B<MPOL_MF_STRICT> is passed in I<flags> and I<mode> is not "
557 "B<MPOL_DEFAULT>, then the call fails with the error B<EIO> if the existing "
558 "pages in the memory range don't follow the policy."
559 msgstr ""
560 "Если в I<flags> указан B<MPOL_MF_STRICT> и I<mode> не равно B<MPOL_DEFAULT>, "
561 "то вызов завершается ошибкой B<EIO>, если существующие страницы в области "
562 "памяти не следуют политике."
563
564 #. type: Plain text
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 #, fuzzy
568 #| msgid ""
569 #| "If B<MPOL_MF_MOVE> is specified in I<flags>, then the kernel will attempt "
570 #| "to move all the existing pages in the memory range so that they follow "
571 #| "the policy. Pages that are shared with other processes will not be "
572 #| "moved. If B<MPOL_MF_STRICT> is also specified, then the call fails with "
573 #| "the error B<EIO> if some pages could not be moved."
574 msgid ""
575 "If B<MPOL_MF_MOVE> is specified in I<flags>, then the kernel will attempt to "
576 "move all the existing pages in the memory range so that they follow the "
577 "policy. Pages that are shared with other processes will not be moved. If "
578 "B<MPOL_MF_STRICT> is also specified, then the call fails with the error "
579 "B<EIO> if some pages could not be moved. If the B<MPOL_INTERLEAVE> policy "
580 "was specified, pages already residing on the specified nodes will not be "
581 "moved such that they are interleaved."
582 msgstr ""
583 "Если в I<flags> указан B<MPOL_MF_MOVE>, то ядро будет пытаться переместить "
584 "все существующие страницы в области памяти так, чтобы они следовали "
585 "политике. Страницы, используемые совместно с другими процессами, "
586 "перемещаться не будут. Если также указан B<MPOL_MF_STRICT>, что вызов "
587 "завершается ошибкой B<EIO>, если страницы не могут быть перемещены."
588
589 #. ---------------------------------------------------------------
590 #. type: Plain text
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 #, fuzzy
594 #| msgid ""
595 #| "If B<MPOL_MF_MOVE_ALL> is passed in I<flags>, then the kernel will "
596 #| "attempt to move all existing pages in the memory range regardless of "
597 #| "whether other processes use the pages. The calling thread must be "
598 #| "privileged (B<CAP_SYS_NICE>) to use this flag. If B<MPOL_MF_STRICT> is "
599 #| "also specified, then the call fails with the error B<EIO> if some pages "
600 #| "could not be moved."
601 msgid ""
602 "If B<MPOL_MF_MOVE_ALL> is passed in I<flags>, then the kernel will attempt "
603 "to move all existing pages in the memory range regardless of whether other "
604 "processes use the pages. The calling thread must be privileged "
605 "(B<CAP_SYS_NICE>) to use this flag. If B<MPOL_MF_STRICT> is also "
606 "specified, then the call fails with the error B<EIO> if some pages could not "
607 "be moved. If the B<MPOL_INTERLEAVE> policy was specified, pages already "
608 "residing on the specified nodes will not be moved such that they are "
609 "interleaved."
610 msgstr ""
611 "Если в I<flags> указан B<MPOL_MF_MOVE_ALL>, то ядро будет пытаться "
612 "переместить все существующие страницы в области памяти независимо от того, "
613 "используются ли они другими процессами. Для использования данного флага "
614 "вызывающая нить должна быть привилегированной (B<CAP_SYS_NICE>). Если также "
615 "указан B<MPOL_MF_STRICT>, то вызов завершается ошибкой B<EIO>, если "
616 "некоторые страницы нельзя переместить."
617
618 #. type: SH
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 #, no-wrap
622 msgid "RETURN VALUE"
623 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
624
625 #. ---------------------------------------------------------------
626 #. type: Plain text
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 msgid ""
630 "On success, B<mbind>() returns 0; on error, -1 is returned and I<errno> is "
631 "set to indicate the error."
632 msgstr ""
633 "При успешном выполнении B<mbind>() возвращается 0. При ошибке возвращается "
634 "-1, а в I<errno> содержится код ошибки."
635
636 #. type: SH
637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
639 #, no-wrap
640 msgid "ERRORS"
641 msgstr "ОШИБКИ"
642
643 #. type: TP
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 #, no-wrap
647 msgid "B<EFAULT>"
648 msgstr "B<EFAULT>"
649
650 #. type: Plain text
651 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
652 #: opensuse-leap-16-1 opensuse-tumbleweed
653 #, fuzzy
654 #| msgid ""
655 #| "Part or all of the memory range specified by I<nodemask> and I<maxnode> "
656 #| "points outside your accessible address space. Or, there was an unmapped "
657 #| "hole in the specified memory range specified by I<addr> and I<len>."
658 msgid ""
659 "Part or all of the memory range specified by I<nodemask> and I<maxnode> "
660 "points outside your accessible address space. Or, there was an unmapped "
661 "hole in the specified memory range specified by I<addr> and I<size>."
662 msgstr ""
663 "Часть или вся область памяти, заданная в I<nodemask> и I<maxnode>, указывает "
664 "за пределы доступного адресного пространства. Или в области памяти, "
665 "задаваемой I<addr> и I<len>, есть неотображаемая дыра (hole)."
666
667 #. type: TP
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 #, no-wrap
671 msgid "B<EINVAL>"
672 msgstr "B<EINVAL>"
673
674 #. As at 2.6.23, this limit is "a page worth of bits", e.g.,
675 #. 8 * 4096 bits, assuming a 4kB page size.
676 #. type: Plain text
677 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
678 #: opensuse-leap-16-1 opensuse-tumbleweed
679 #, fuzzy
680 #| msgid ""
681 #| "An invalid value was specified for I<flags> or I<mode>; or I<addr + len> "
682 #| "was less than I<addr>; or I<addr> is not a multiple of the system page "
683 #| "size. Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> specified a "
684 #| "nonempty set; or I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and "
685 #| "I<nodemask> is empty. Or, I<maxnode> exceeds a kernel-imposed limit. "
686 #| "Or, I<nodemask> specifies one or more node IDs that are greater than the "
687 #| "maximum supported node ID. Or, none of the node IDs specified by "
688 #| "I<nodemask> are on-line and allowed by the thread's current cpuset "
689 #| "context, or none of the specified nodes contain memory. Or, the I<mode> "
690 #| "argument specified both B<MPOL_F_STATIC_NODES> and "
691 #| "B<MPOL_F_RELATIVE_NODES>."
692 msgid ""
693 "An invalid value was specified for I<flags> or I<mode>; or I<addr + size> "
694 "was less than I<addr>; or I<addr> is not a multiple of the system page "
695 "size. Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> specified a nonempty "
696 "set; or I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and I<nodemask> is "
697 "empty. Or, I<maxnode> exceeds a kernel-imposed limit. Or, I<nodemask> "
698 "specifies one or more node IDs that are greater than the maximum supported "
699 "node ID. Or, none of the node IDs specified by I<nodemask> are on-line and "
700 "allowed by the thread's current cpuset context, or none of the specified "
701 "nodes contain memory. Or, the I<mode> argument specified both "
702 "B<MPOL_F_STATIC_NODES> and B<MPOL_F_RELATIVE_NODES>."
703 msgstr ""
704 "В I<flags> или I<mode> указано неправильное значение; или I<addr + len> "
705 "меньше чем I<addr>; или I<addr> не кратен системному размеру страницы. Или "
706 "I<mode> равен B<MPOL_DEFAULT> и в I<nodemask> задан непустой набор; или "
707 "I<mode> равен B<MPOL_BIND> или B<MPOL_INTERLEAVE> и значение I<nodemask> "
708 "пусто. Или значение I<maxnode> превышает устанавливаемое ядром ограничение. "
709 "Или в I<nodemask> задан один или более идентификаторов узлов, номер которого "
710 "больше чем максимально поддерживаемый. Или в I<nodemask> не задано ни одного "
711 "идентификатора узла, включённого в данный момент и разрешённого нити текущим "
712 "контекстом набора процессоров, или ни один из указанных узлов не содержит "
713 "память. Или в аргументе I<mode> указаны сразу B<MPOL_F_STATIC_NODES> и "
714 "B<MPOL_F_RELATIVE_NODES>."
715
716 #. type: TP
717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
719 #, no-wrap
720 msgid "B<EIO>"
721 msgstr "B<EIO>"
722
723 #. type: Plain text
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 msgid ""
727 "B<MPOL_MF_STRICT> was specified and an existing page was already on a node "
728 "that does not follow the policy; or B<MPOL_MF_MOVE> or B<MPOL_MF_MOVE_ALL> "
729 "was specified and the kernel was unable to move all existing pages in the "
730 "range."
731 msgstr ""
732 "Был указан B<MPOL_MF_STRICT> и существующая страница была уже на узле, что "
733 "не следует политике; или был указан B<MPOL_MF_MOVE> или B<MPOL_MF_MOVE_ALL> "
734 "и ядро не смогло переместить все существующие страницы области."
735
736 #. type: TP
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 #, no-wrap
740 msgid "B<ENOMEM>"
741 msgstr "B<ENOMEM>"
742
743 #. type: Plain text
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 msgid "Insufficient kernel memory was available."
747 msgstr "Недостаточное количество памяти ядра."
748
749 #. type: TP
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 #, no-wrap
753 msgid "B<EPERM>"
754 msgstr "B<EPERM>"
755
756 #. ---------------------------------------------------------------
757 #. type: Plain text
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 msgid ""
761 "The I<flags> argument included the B<MPOL_MF_MOVE_ALL> flag and the caller "
762 "does not have the B<CAP_SYS_NICE> privilege."
763 msgstr ""
764 "Аргумент I<flags> содержит флаг B<MPOL_MF_MOVE_ALL> и вызывающий не имеет "
765 "мандата B<CAP_SYS_NICE>."
766
767 #. type: SH
768 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
769 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
770 #, no-wrap
771 msgid "STANDARDS"
772 msgstr "СТАНДАРТЫ"
773
774 #. type: Plain text
775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
777 msgid "Linux."
778 msgstr "Linux."
779
780 #. type: SH
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 #, no-wrap
784 msgid "HISTORY"
785 msgstr "ИСТОРИЯ"
786
787 #. type: Plain text
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 msgid "Linux 2.6.7."
791 msgstr "Linux 2.6.7."
792
793 #. type: Plain text
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 #, fuzzy
797 #| msgid ""
798 #| "Support for huge page policy was added with 2.6.16. For interleave "
799 #| "policy to be effective on huge page mappings the policied memory needs to "
800 #| "be tens of megabytes or larger."
801 msgid ""
802 "Support for huge page policy was added with Linux 2.6.16. For interleave "
803 "policy to be effective on huge page mappings the policied memory needs to be "
804 "tens of megabytes or larger."
805 msgstr ""
806 "Поддержка политики для огромных страниц была добавлена в версию 2.6.16. Для "
807 "эффективной работы политики чередования на огромных страничных отображениях, "
808 "контролируемая память должна измеряться десятками мегабайт или больше."
809
810 #. commit dcf1763546d76c372f3136c8d6b2b6e77f140cf0
811 #. type: Plain text
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 msgid "Before Linux 5.7. B<MPOL_MF_STRICT> was ignored on huge page mappings."
815 msgstr ""
816 "До Linux 5.7. B<MPOL_MF_STRICT> игнорировался при отображении больших "
817 "страниц."
818
819 #. type: Plain text
820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
822 msgid ""
823 "B<MPOL_MF_MOVE> and B<MPOL_MF_MOVE_ALL> are available only on Linux 2.6.16 "
824 "and later."
825 msgstr ""
826 "Режимы B<MPOL_MF_MOVE> и B<MPOL_MF_MOVE_ALL> доступны только в Linux 2.6.16 "
827 "и новее."
828
829 #. type: SH
830 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
831 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
832 #, no-wrap
833 msgid "NOTES"
834 msgstr "ПРИМЕЧАНИЯ"
835
836 #. type: Plain text
837 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
838 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
839 msgid "For information on library support, see B<numa>(7)."
840 msgstr "Информация о библиотеке доступна в B<numa>(7)."
841
842 #. type: Plain text
843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
845 msgid ""
846 "NUMA policy is not supported on a memory-mapped file range that was mapped "
847 "with the B<MAP_SHARED> flag."
848 msgstr ""
849 "Политика NUMA не поддерживается для области памяти отображения файла, "
850 "который отображён с флагом B<MAP_SHARED>."
851
852 #. type: Plain text
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 msgid ""
856 "The B<MPOL_DEFAULT> mode can have different effects for B<mbind>() and "
857 "B<set_mempolicy>(2). When B<MPOL_DEFAULT> is specified for "
858 "B<set_mempolicy>(2), the thread's memory policy reverts to the system "
859 "default policy or local allocation. When B<MPOL_DEFAULT> is specified for a "
860 "range of memory using B<mbind>(), any pages subsequently allocated for that "
861 "range will use the thread's memory policy, as set by B<set_mempolicy>(2). "
862 "This effectively removes the explicit policy from the specified range, "
863 "\"falling back\" to a possibly nondefault policy. To select explicit "
864 "\"local allocation\" for a memory range, specify a I<mode> of B<MPOL_LOCAL> "
865 "or B<MPOL_PREFERRED> with an empty set of nodes. This method will work for "
866 "B<set_mempolicy>(2), as well."
867 msgstr ""
868 "Режим B<MPOL_DEFAULT> может по разному влиять на B<mbind>() и "
869 "B<set_mempolicy>(2). Когда указан B<MPOL_DEFAULT> для B<set_mempolicy>(2), "
870 "политика памяти нити возвращается к политике по умолчанию или локальному "
871 "выделению. Когда B<MPOL_DEFAULT> указан для области памяти, используемой "
872 "B<mbind>(), все страницы, последовательно выделяемые для этой области, будут "
873 "использовать политику памяти нити, которая задана с помощью "
874 "B<set_mempolicy>(2). Это эффективно удаляет явную политику из указанной "
875 "области, «откатываясь» к возможной политике не по умолчанию. Для выбора "
876 "явного «локального выделения» области памяти, укажите в I<mode> значение "
877 "B<MPOL_LOCAL> или B<MPOL_PREFERRED> с пустым набором узлов. Этот метод также "
878 "сработает и в вызове B<set_mempolicy>(2)."
879
880 #. type: SH
881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
883 #, no-wrap
884 msgid "SEE ALSO"
885 msgstr "СМОТРИТЕ ТАКЖЕ"
886
887 #. type: Plain text
888 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
889 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
890 msgid ""
891 "B<get_mempolicy>(2), B<getcpu>(2), B<mmap>(2), B<set_mempolicy>(2), "
892 "B<shmat>(2), B<shmget>(2), B<numa>(3), B<cpuset>(7), B<numa>(7), "
893 "B<numactl>(8)"
894 msgstr ""
895 "B<get_mempolicy>(2), B<getcpu>(2), B<mmap>(2), B<set_mempolicy>(2), "
896 "B<shmat>(2), B<shmget>(2), B<numa>(3), B<cpuset>(7), B<numa>(7), "
897 "B<numactl>(8)"
898
899 #. type: TH
900 #: debian-trixie
901 #, no-wrap
902 msgid "2024-05-02"
903 msgstr "2 мая 2024 г."
904
905 #. type: TH
906 #: debian-trixie
907 #, no-wrap
908 msgid "Linux man-pages 6.9.1"
909 msgstr "Страницы руководства Linux 6.9.1"
910
911 #. type: Plain text
912 #: debian-trixie
913 msgid "NUMA (Non-Uniform Memory Access) policy library (I<libnuma>, I<-lnuma>)"
914 msgstr ""
915 "Библиотека политик NUMA (неоднородный доступ к памяти) (I<libnuma>, I<-"
916 "lnuma>)"
917
918 #. type: Plain text
919 #: debian-trixie
920 #, no-wrap
921 msgid ""
922 "B<long mbind(void >I<addr>B<[.>I<len>B<], unsigned long >I<len>B<, int >I<mode>B<,>\n"
923 "B< const unsigned long >I<nodemask>B<[(.>I<maxnode>B< + ULONG_WIDTH - 1)>\n"
924 "B</ ULONG_WIDTH],>\n"
925 "B< unsigned long >I<maxnode>B<, unsigned int >I<flags>B<);>\n"
926 msgstr ""
927 "B<long mbind(void >I<addr>B<[.>I<len>B<], unsigned long >I<len>B<, int >I<mode>B<,>\n"
928 "B< const unsigned long >I<nodemask>B<[(.>I<maxnode>B< + ULONG_WIDTH - 1)>\n"
929 "B</ ULONG_WIDTH],>\n"
930 "B< unsigned long >I<maxnode>B<, unsigned int >I<flags>B<);>\n"
931
932 #. type: Plain text
933 #: debian-trixie
934 msgid ""
935 "B<mbind>() sets the NUMA memory policy, which consists of a policy mode and "
936 "zero or more nodes, for the memory range starting with I<addr> and "
937 "continuing for I<len> bytes. The memory policy defines from which node "
938 "memory is allocated."
939 msgstr ""
940 "Вызов B<mbind>() устанавливает политику памяти NUMA, состоящую из режима "
941 "политики и нуля или более узлов, на область памяти, начинающуюся с I<addr> и "
942 "длиной I<len> байт. Политикой памяти задаётся на каком узле будет выделяться "
943 "память."
944
945 #. type: Plain text
946 #: debian-trixie
947 #, fuzzy
948 #| msgid ""
949 #| "If the memory range specified by the I<addr> and I<len> arguments "
950 #| "includes an \"anonymous\" region of memory\\(emthat is a region of memory "
951 #| "created using the B<mmap>(2) system call with the B<MAP_ANONYMOUS>\\"
952 #| "(emor a memory-mapped file, mapped using the B<mmap>(2) system call with "
953 #| "the B<MAP_PRIVATE> flag, pages will be allocated only according to the "
954 #| "specified policy when the application writes (stores) to the page. For "
955 #| "anonymous regions, an initial read access will use a shared page in the "
956 #| "kernel containing all zeros. For a file mapped with B<MAP_PRIVATE>, an "
957 #| "initial read access will allocate pages according to the memory policy of "
958 #| "the thread that causes the page to be allocated. This may not be the "
959 #| "thread that called B<mbind>()."
960 msgid ""
961 "If the memory range specified by the I<addr> and I<len> arguments includes "
962 "an \"anonymous\" region of memory\\[em]that is a region of memory created "
963 "using the B<mmap>(2) system call with the B<MAP_ANONYMOUS>\\[em]or a memory-"
964 "mapped file, mapped using the B<mmap>(2) system call with the "
965 "B<MAP_PRIVATE> flag, pages will be allocated only according to the specified "
966 "policy when the application writes (stores) to the page. For anonymous "
967 "regions, an initial read access will use a shared page in the kernel "
968 "containing all zeros. For a file mapped with B<MAP_PRIVATE>, an initial "
969 "read access will allocate pages according to the memory policy of the thread "
970 "that causes the page to be allocated. This may not be the thread that "
971 "called B<mbind>()."
972 msgstr ""
973 "Если область памяти, заданная аргументами I<addr> и I<len>, включает "
974 "«анонимную» область памяти — область памяти, созданную с помощью системного "
975 "вызова B<mmap>(2) с аргументом B<MAP_ANONYMOUS> — или файл, отображённый в "
976 "память с помощью вызова B<mmap>(2) с флагом B<MAP_PRIVATE>, то страницы "
977 "будут выделены в соответствии с указанной политикой только когда приложение "
978 "выполняет запись (сохранение) страницы. Для анонимных областей при "
979 "первоначальном доступе на чтение будет использоваться общая страница ядра, "
980 "содержащая только нули. Для отображённого файла с флагом B<MAP_PRIVATE>, при "
981 "первоначальном доступе на чтение будут выделены страницы в соответствии с "
982 "политикой памяти нити, для которой происходит выделение страницы. Это может "
983 "быть не та нить, которая вызвала B<mbind>()."
984
985 #. type: Plain text
986 #: debian-trixie
987 #, fuzzy
988 #| msgid ""
989 #| "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
990 #| "B<MPOL_INTERLEAVE>, B<MPOL_PREFERRED>, or B<MPOL_LOCAL> (which are "
991 #| "described in detail below). All policy modes except B<MPOL_DEFAULT> "
992 #| "require the caller to specify the node or nodes to which the mode "
993 #| "applies, via the I<nodemask> argument."
994 msgid ""
995 "The I<mode> argument must specify one of B<MPOL_DEFAULT>, B<MPOL_BIND>, "
996 "B<MPOL_INTERLEAVE>, B<MPOL_WEIGHTED_INTERLEAVE>, B<MPOL_PREFERRED>, or "
997 "B<MPOL_LOCAL> (which are described in detail below). All policy modes "
998 "except B<MPOL_DEFAULT> require the caller to specify the node or nodes to "
999 "which the mode applies, via the I<nodemask> argument."
1000 msgstr ""
1001 "В аргументе I<mode> должно быть указано одно из следующих значений: "
1002 "B<MPOL_DEFAULT>, B<MPOL_BIND>, B<MPOL_INTERLEAVE>, B<MPOL_PREFERRED> или "
1003 "B<MPOL_LOCAL> (описано далее). Для всех режимов политики, за исключением "
1004 "B<MPOL_DEFAULT>, требуется, чтобы вызывающий указывал в аргументе "
1005 "I<nodemask> узел или узлы, для которых применяется режим."
1006
1007 #. type: Plain text
1008 #: debian-trixie
1009 msgid ""
1010 "Part or all of the memory range specified by I<nodemask> and I<maxnode> "
1011 "points outside your accessible address space. Or, there was an unmapped "
1012 "hole in the specified memory range specified by I<addr> and I<len>."
1013 msgstr ""
1014 "Часть или вся область памяти, заданная в I<nodemask> и I<maxnode>, указывает "
1015 "за пределы доступного адресного пространства. Или в области памяти, "
1016 "задаваемой I<addr> и I<len>, есть неотображаемая дыра (hole)."
1017
1018 #. As at 2.6.23, this limit is "a page worth of bits", e.g.,
1019 #. 8 * 4096 bits, assuming a 4kB page size.
1020 #. type: Plain text
1021 #: debian-trixie
1022 msgid ""
1023 "An invalid value was specified for I<flags> or I<mode>; or I<addr + len> was "
1024 "less than I<addr>; or I<addr> is not a multiple of the system page size. "
1025 "Or, I<mode> is B<MPOL_DEFAULT> and I<nodemask> specified a nonempty set; or "
1026 "I<mode> is B<MPOL_BIND> or B<MPOL_INTERLEAVE> and I<nodemask> is empty. Or, "
1027 "I<maxnode> exceeds a kernel-imposed limit. Or, I<nodemask> specifies one or "
1028 "more node IDs that are greater than the maximum supported node ID. Or, none "
1029 "of the node IDs specified by I<nodemask> are on-line and allowed by the "
1030 "thread's current cpuset context, or none of the specified nodes contain "
1031 "memory. Or, the I<mode> argument specified both B<MPOL_F_STATIC_NODES> and "
1032 "B<MPOL_F_RELATIVE_NODES>."
1033 msgstr ""
1034 "В I<flags> или I<mode> указано неправильное значение; или I<addr + len> "
1035 "меньше чем I<addr>; или I<addr> не кратен системному размеру страницы. Или "
1036 "I<mode> равен B<MPOL_DEFAULT> и в I<nodemask> задан непустой набор; или "
1037 "I<mode> равен B<MPOL_BIND> или B<MPOL_INTERLEAVE> и значение I<nodemask> "
1038 "пусто. Или значение I<maxnode> превышает устанавливаемое ядром ограничение. "
1039 "Или в I<nodemask> задан один или более идентификаторов узлов, номер которого "
1040 "больше чем максимально поддерживаемый. Или в I<nodemask> не задано ни одного "
1041 "идентификатора узла, включённого в данный момент и разрешённого нити текущим "
1042 "контекстом набора процессоров, или ни один из указанных узлов не содержит "
1043 "память. Или в аргументе I<mode> указаны сразу B<MPOL_F_STATIC_NODES> и "
1044 "B<MPOL_F_RELATIVE_NODES>."
1045
1046 #. type: TH
1047 #: fedora-44 fedora-rawhide
1048 #, no-wrap
1049 msgid "2025-02-21"
1050 msgstr "21 февраля 2025 г."
1051
1052 #. type: TH
1053 #: fedora-44 fedora-rawhide
1054 #, no-wrap
1055 msgid "Linux man-pages 6.13"
1056 msgstr "Страницы руководства Linux 6.13"
1057
1058 #. type: Plain text
1059 #: fedora-44 fedora-rawhide
1060 #, fuzzy, no-wrap
1061 #| msgid ""
1062 #| "B<long mbind(void >I<addr>B<[.>I<len>B<], unsigned long >I<len>B<, int >I<mode>B<,>\n"
1063 #| "B< const unsigned long >I<nodemask>B<[(.>I<maxnode>B< + ULONG_WIDTH - 1)>\n"
1064 #| "B</ ULONG_WIDTH],>\n"
1065 #| "B< unsigned long >I<maxnode>B<, unsigned int >I<flags>B<);>\n"
1066 msgid ""
1067 "B<long mbind(void >I<addr>B<[.>I<size>B<], unsigned long >I<size>B<, int >I<mode>B<,>\n"
1068 "B< const unsigned long >I<nodemask>B<[(.>I<maxnode>B< + ULONG_WIDTH - 1)>\n"
1069 "B</ ULONG_WIDTH],>\n"
1070 "B< unsigned long >I<maxnode>B<, unsigned int >I<flags>B<);>\n"
1071 msgstr ""
1072 "B<long mbind(void >I<addr>B<[.>I<len>B<], unsigned long >I<len>B<, int >I<mode>B<,>\n"
1073 "B< const unsigned long >I<nodemask>B<[(.>I<maxnode>B< + ULONG_WIDTH - 1)>\n"
1074 "B</ ULONG_WIDTH],>\n"
1075 "B< unsigned long >I<maxnode>B<, unsigned int >I<flags>B<);>\n"
1076
1077 #. commit b27abaccf8e8b012f126da0c2a1ab32723ec8b9f
1078 #. type: Plain text
1079 #: fedora-44 fedora-rawhide
1080 msgid "Specifies a set of nodes for allocation; see B<set_mempolicy>(2)"
1081 msgstr ""
1082
1083 #. type: TH
1084 #: mageia-cauldron
1085 #, no-wrap
1086 msgid "Linux man-pages 6.17"
1087 msgstr "Страницы руководства Linux 6.17"
1088
1089 #. type: TH
1090 #: opensuse-leap-16-1 opensuse-tumbleweed
1091 #, no-wrap
1092 msgid "Linux man-pages (unreleased)"
1093 msgstr "Страницы руководства Linux (не выпущены)"