Debian Codegraph @

po/ru/man2/madvise.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 "madvise"
35 msgstr "madvise"
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 "madvise - give advice about use of memory"
62 msgstr "madvise - отсылает предложения по использованию памяти"
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 msgid "Standard C library (I<libc>,\\ I<-lc>)"
75 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
76
77 #. type: SH
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "SYNOPSIS"
82 msgstr "СИНТАКСИС"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "B<#include E<lt>sys/mman.hE<gt>>\n"
89 msgstr "B<#include E<lt>sys/mman.hE<gt>>\n"
90
91 #. type: Plain text
92 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
93 #: opensuse-tumbleweed
94 #, fuzzy, no-wrap
95 #| msgid "B<int madvise(void *>I<addr>B<, size_t >I<length>B<, int >I<advice>B<);>\n"
96 msgid ""
97 "B<int madvise(>size_t size;\n"
98 "B< void >I<addr>B<[>I<size>B<], size_t >I<size>B<, int >I<advice>B<);>\n"
99 msgstr "B<int madvise(void *>I<addr>B<, size_t >I<length>B<, int >I<advice>B<);>\n"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
106 msgstr ""
107 "Требования макроса тестирования свойств для glibc (см. "
108 "B<feature_test_macros>(7)):"
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid "B<madvise>():"
114 msgstr "B<madvise>():"
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 #, fuzzy, no-wrap
120 #| msgid ""
121 #| " Since glibc 2.19:\n"
122 #| " _DEFAULT_SOURCE\n"
123 #| " In glibc up to and including 2.19:\n"
124 #| " _BSD_SOURCE\n"
125 msgid ""
126 " Since glibc 2.19:\n"
127 " _DEFAULT_SOURCE\n"
128 " Up to and including glibc 2.19:\n"
129 " _BSD_SOURCE\n"
130 msgstr ""
131 " начиная с glibc 2.19:\n"
132 " _DEFAULT_SOURCE\n"
133 " в glibc до версии 2.19 включительно:\n"
134 " _BSD_SOURCE\n"
135
136 #. type: SH
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "DESCRIPTION"
141 msgstr "ОПИСАНИЕ"
142
143 #. type: Plain text
144 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
145 #: opensuse-leap-16-1 opensuse-tumbleweed
146 #, fuzzy
147 #| msgid ""
148 #| "The B<madvise>() system call is used to give advice or directions to the "
149 #| "kernel about the address range beginning at address I<addr> and with size "
150 #| "I<length> bytes In most cases, the goal of such advice is to improve "
151 #| "system or application performance."
152 msgid ""
153 "The B<madvise>() system call is used to give advice or directions to the "
154 "kernel about the address range beginning at address I<addr> and with size "
155 "I<size>. B<madvise>() only operates on whole pages, therefore I<addr> must "
156 "be page-aligned. The value of I<size> is rounded up to a multiple of page "
157 "size. In most cases, the goal of such advice is to improve system or "
158 "application performance."
159 msgstr ""
160 "Системный вызов B<madvise>() используется, чтобы дать совет или указать "
161 "направление ядру о диапазоне адресов, начинающемся с адреса I<addr> и "
162 "имеющем размер I<length> байт. В большинстве случаев, целью такого совета "
163 "является повышение производительности системы или приложения."
164
165 #. ======================================================================
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid ""
170 "Initially, the system call supported a set of \"conventional\" I<advice> "
171 "values, which are also available on several other implementations. (Note, "
172 "though, that B<madvise>() is not specified in POSIX.) Subsequently, a "
173 "number of Linux-specific I<advice> values have been added."
174 msgstr ""
175 "Первоначально, системный вызов поддерживал набор «стандартных» значений "
176 "I<advice>, которые также доступны и в некоторых других реализациях (однако "
177 "отметим, что B<madvise>() отсутствует в POSIX). В последствии было добавлено "
178 "несколько значений I<advice>, имеющихся только в Linux."
179
180 #. type: SS
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "Conventional advice values"
185 msgstr "Стандартные значения предложений"
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid ""
191 "The I<advice> values listed below allow an application to tell the kernel "
192 "how it expects to use some mapped or shared memory areas, so that the kernel "
193 "can choose appropriate read-ahead and caching techniques. These I<advice> "
194 "values do not influence the semantics of the application (except in the case "
195 "of B<MADV_DONTNEED>), but may influence its performance. All of the "
196 "I<advice> values listed here have analogs in the POSIX-specified "
197 "B<posix_madvise>(3) function, and the values have the same meanings, with "
198 "the exception of B<MADV_DONTNEED>."
199 msgstr ""
200 "Значения I<advice>, перечисленные далее, позволяют приложению указать ядру "
201 "как оно будет использовать некоторые отображённые или общие области памяти, "
202 "чтобы ядро могло выбрать подходящие методы упреждающего чтения и "
203 "кэширования. Эти значения I<advice> не влияют на семантику приложения (за "
204 "исключением B<MADV_DONTNEED>), но могут повлиять на его производительность. "
205 "Все перечисленные здесь значения I<advice> имеют аналоги в определённой "
206 "POSIX функции B<posix_madvise>(3) и имеют тот же смысл, за исключением "
207 "B<MADV_DONTNEED>."
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "The advice is indicated in the I<advice> argument, which is one of the "
214 "following:"
215 msgstr "В I<advice> помещается нужное предложения, одно из:"
216
217 #. type: TP
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "B<MADV_NORMAL>"
222 msgstr "B<MADV_NORMAL>"
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid "No special treatment. This is the default."
228 msgstr "Нет никаких специальных указаний. Используется по умолчанию."
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "B<MADV_RANDOM>"
235 msgstr "B<MADV_RANDOM>"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "Expect page references in random order. (Hence, read ahead may be less "
242 "useful than normally.)"
243 msgstr ""
244 "Ожидать обращение к страницам в случайном порядке (здесь упреждающее чтение "
245 "может быть менее эффективным)."
246
247 #. type: TP
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "B<MADV_SEQUENTIAL>"
252 msgstr "B<MADV_SEQUENTIAL>"
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "Expect page references in sequential order. (Hence, pages in the given "
259 "range can be aggressively read ahead, and may be freed soon after they are "
260 "accessed.)"
261 msgstr ""
262 "Ожидать последовательного обращения к страницам (здесь к страницам в "
263 "заданном диапазоне можно применить агрессивное упреждающее чтение и быстро "
264 "высвободить их сразу после доступа)."
265
266 #. type: TP
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "B<MADV_WILLNEED>"
271 msgstr "B<MADV_WILLNEED>"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "Expect access in the near future. (Hence, it might be a good idea to read "
278 "some pages ahead.)"
279 msgstr ""
280 "Ожидать доступа в ближайшем будущем (здесь можно применить упреждающее "
281 "чтение нескольких страниц)."
282
283 #. type: TP
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, no-wrap
287 msgid "B<MADV_DONTNEED>"
288 msgstr "B<MADV_DONTNEED>"
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid ""
294 "Do not expect access in the near future. (For the time being, the "
295 "application is finished with the given range, so the kernel can free "
296 "resources associated with it.)"
297 msgstr ""
298 "В ближайшем будущем не ожидается доступ (в настоящее время приложение "
299 "закончило работу с данным диапазоном, поэтому ядро может освободить ресурсы, "
300 "связанные с приложением)."
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "After a successful B<MADV_DONTNEED> operation, the semantics of memory "
307 "access in the specified region are changed: subsequent accesses of pages in "
308 "the range will succeed, but will result in either repopulating the memory "
309 "contents from the up-to-date contents of the underlying mapped file (for "
310 "shared file mappings, shared anonymous mappings, and shmem-based techniques "
311 "such as System V shared memory segments) or zero-fill-on-demand pages for "
312 "anonymous private mappings."
313 msgstr ""
314 "После успешного выполнения операции B<MADV_DONTNEED> семантика доступа к "
315 "памяти в заданной области изменяется: последующий доступ к страницам в "
316 "области будет успешным, но будет приводить к или повторному заполнению "
317 "памяти актуальным содержимым из нижележащего отображённого файла (для общих "
318 "отображений файла, общих анонимных отображений и методов на основе shmem, "
319 "таких как сегментов общей памяти System V) или к заполнению нулями страниц "
320 "по требованию у частных анонимных отображений."
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid ""
326 "Note that, when applied to shared mappings, B<MADV_DONTNEED> might not lead "
327 "to immediate freeing of the pages in the range. The kernel is free to delay "
328 "freeing the pages until an appropriate moment. The resident set size (RSS) "
329 "of the calling process will be immediately reduced however."
330 msgstr ""
331 "Заметим, что при применении к общим отображениям операция B<MADV_DONTNEED> "
332 "может не приводить к немедленному освобождению страниц области. Ядро может "
333 "задержать освобождение до подходящего момента. Однако размер постоянно "
334 "занимаемой памяти (RSS) вызывающего процесса будет сокращён сразу же."
335
336 #. http://lwn.net/Articles/162860/
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, fuzzy
341 #| msgid ""
342 #| "B<MADV_DONTNEED> cannot be applied to locked pages, Huge TLB pages, or "
343 #| "B<VM_PFNMAP> pages. (Pages marked with the kernel-internal B<VM_PFNMAP> "
344 #| "flag are special memory areas that are not managed by the virtual memory "
345 #| "subsystem. Such pages are typically created by device drivers that map "
346 #| "the pages into user space.)"
347 msgid ""
348 "B<MADV_DONTNEED> cannot be applied to locked pages, or B<VM_PFNMAP> pages. "
349 "(Pages marked with the kernel-internal B<VM_PFNMAP> flag are special memory "
350 "areas that are not managed by the virtual memory subsystem. Such pages are "
351 "typically created by device drivers that map the pages into user space.)"
352 msgstr ""
353 "Операция B<MADV_DONTNEED> не может применяться к заблокированным страницам, "
354 "страницам Huge TLB или страницам B<VM_PFNMAP> (страницы, помеченные "
355 "внутренним флагом ядра B<VM_PFNMAP> представляют собой специальные области "
356 "памяти, которые не управляются из подсистемы виртуальной памяти; обычно, эти "
357 "страницы создаются драйверами устройств, которые отображают страницы в "
358 "пользовательское пространство)."
359
360 #
361 #. ======================================================================
362 #. type: Plain text
363 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
364 #: opensuse-tumbleweed
365 msgid ""
366 "Support for Huge TLB pages was added in Linux 5.18. Addresses within a "
367 "mapping backed by Huge TLB pages must be aligned to the underlying Huge TLB "
368 "page size, and the range size is rounded up to a multiple of the underlying "
369 "Huge TLB page size."
370 msgstr ""
371
372 #. type: SS
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "Linux-specific advice values"
377 msgstr "Значения предложений, имеющиеся только в Linux"
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid ""
383 "The following Linux-specific I<advice> values have no counterparts in the "
384 "POSIX-specified B<posix_madvise>(3), and may or may not have counterparts in "
385 "the B<madvise>() interface available on other implementations. Note that "
386 "some of these operations change the semantics of memory accesses."
387 msgstr ""
388 "Следующие значения I<advice> имеются только в Linux и не имеют аналога в "
389 "определённой POSIX функции B<posix_madvise>(3), а также могут не иметь "
390 "аналога и в других реализациях интерфейса B<madvise>(). Заметим, что "
391 "некоторые из этих операций изменяют семантику доступа к памяти."
392
393 #. type: TP
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "B<MADV_REMOVE> (since Linux 2.6.16)"
398 msgstr "B<MADV_REMOVE> (начиная с Linux 2.6.16)"
399
400 #. commit f6b3ec238d12c8cc6cc71490c6e3127988460349
401 #. Databases want to use this feature to drop a section of their
402 #. bufferpool (shared memory segments) - without writing back to
403 #. disk/swap space. This feature is also useful for supporting
404 #. hot-plug memory on UML.
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, fuzzy
409 #| msgid ""
410 #| "Free up a given range of pages and its associated backing store. This is "
411 #| "equivalent to punching a hole in the corresponding byte range of the "
412 #| "backing store (see B<fallocate>(2)). Subsequent accesses in the "
413 #| "specified address range will see bytes containing zero."
414 msgid ""
415 "Free up a given range of pages and its associated backing store. This is "
416 "equivalent to punching a hole in the corresponding range of the backing "
417 "store (see B<fallocate>(2)). Subsequent accesses in the specified address "
418 "range will see data with a value of zero."
419 msgstr ""
420 "Освободить указанный диапазон страниц и связанные с ним хранилища. "
421 "Эквивалентен пробивке отверстия в соответствующем диапазоне байт хранилища "
422 "(смотрите B<fallocate>(2)). Последующий доступ к указанному адресному "
423 "диапазону будет возвращать байты с нулями."
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 #, fuzzy
429 #| msgid ""
430 #| "The specified address range must be mapped shared and writable. This "
431 #| "flag cannot be applied to locked pages, Huge TLB pages, or B<VM_PFNMAP> "
432 #| "pages."
433 msgid ""
434 "The specified address range must be mapped shared and writable. This flag "
435 "cannot be applied to locked pages, or B<VM_PFNMAP> pages."
436 msgstr ""
437 "Указываемый адресный диапазон должен быть общим и доступным на запись "
438 "отображением. Этот флаг не может применять к заблокированным страницам, "
439 "страницам Huge TLB или страницам B<VM_PFNMAP>."
440
441 #. commit 3f31d07571eeea18a7d34db9af21d2285b807a17
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 #, fuzzy
446 #| msgid ""
447 #| "In the initial implementation, only B<tmpfs>(5) was supported "
448 #| "B<MADV_REMOVE>; but since Linux 3.5, any filesystem which supports the "
449 #| "B<fallocate>(2) B<FALLOC_FL_PUNCH_HOLE> mode also supports "
450 #| "B<MADV_REMOVE>. Hugetlbfs fails with the error B<EINVAL> and other "
451 #| "filesystems fail with the error B<EOPNOTSUPP>."
452 msgid ""
453 "In the initial implementation, only B<tmpfs>(5) supported B<MADV_REMOVE>; "
454 "but since Linux 3.5, any filesystem which supports the B<fallocate>(2) "
455 "B<FALLOC_FL_PUNCH_HOLE> mode also supports B<MADV_REMOVE>. Filesystems "
456 "which do not support B<MADV_REMOVE> fail with the error B<EOPNOTSUPP>."
457 msgstr ""
458 "В первоначальной реализации B<MADV_REMOVE> поддерживался только в "
459 "B<tmpfs>(5), но начиная с Linux 3.5 все файловые системы, поддерживающие "
460 "B<fallocate>(2) с режимом B<FALLOC_FL_PUNCH_HOLE>, также поддерживают "
461 "B<MADV_REMOVE>. Hugetlbfs возвращает ошибку B<EINVAL>, а другие файловые "
462 "системы возвращают ошибку B<EOPNOTSUPP>."
463
464 #. type: Plain text
465 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
466 #: opensuse-tumbleweed
467 #, fuzzy
468 #| msgid "The B<membarrier>() system call was added in Linux 4.3."
469 msgid "Support for the Huge TLB filesystem was added in Linux 4.3."
470 msgstr "Системный вызов B<membarrier>() впервые появился в Linux версии 4.3."
471
472 #. type: TP
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "B<MADV_DONTFORK> (since Linux 2.6.16)"
477 msgstr "B<MADV_DONTFORK> (начиная с Linux 2.6.16)"
478
479 #. #-#-#-#-# archlinux: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
480 #. commit f822566165dd46ff5de9bf895cfa6c51f53bb0c4
481 #. See http://lwn.net/Articles/171941/
482 #. [PATCH] madvise MADV_DONTFORK/MADV_DOFORK
483 #. Currently, copy-on-write may change the physical address of
484 #. a page even if the user requested that the page is pinned in
485 #. memory (either by mlock or by get_user_pages). This happens
486 #. if the process forks meanwhile, and the parent writes to that
487 #. page. As a result, the page is orphaned: in case of
488 #. get_user_pages, the application will never see any data hardware
489 #. DMA's into this page after the COW. In case of mlock'd memory,
490 #. the parent is not getting the realtime/security benefits of mlock.
491 #. In particular, this affects the Infiniband modules which do DMA from
492 #. and into user pages all the time.
493 #. This patch adds madvise options to control whether memory range is
494 #. inherited across fork. Useful, e.g., for when hardware is doing DMA
495 #. from/into these pages. Could also be useful to an application
496 #. wanting to speed up its forks by cutting large areas out of
497 #. consideration.
498 #. SEE ALSO: http://lwn.net/Articles/171941/
499 #. "Tweaks to madvise() and posix_fadvise()", 14 Feb 2006
500 #. type: Plain text
501 #. #-#-#-#-# debian-trixie: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
502 #. commit f822566165dd46ff5de9bf895cfa6c51f53bb0c4
503 #. See http://lwn.net/Articles/171941/
504 #. [PATCH] madvise MADV_DONTFORK/MADV_DOFORK
505 #. Currently, copy-on-write may change the physical address of
506 #. a page even if the user requested that the page is pinned in
507 #. memory (either by mlock or by get_user_pages). This happens
508 #. if the process forks meanwhile, and the parent writes to that
509 #. page. As a result, the page is orphaned: in case of
510 #. get_user_pages, the application will never see any data hardware
511 #. DMA's into this page after the COW. In case of mlock'd memory,
512 #. the parent is not getting the realtime/security benefits of mlock.
513 #. In particular, this affects the Infiniband modules which do DMA from
514 #. and into user pages all the time.
515 #. This patch adds madvise options to control whether memory range is
516 #. inherited across fork. Useful e.g. for when hardware is doing DMA
517 #. from/into these pages. Could also be useful to an application
518 #. wanting to speed up its forks by cutting large areas out of
519 #. consideration.
520 #. SEE ALSO: http://lwn.net/Articles/171941/
521 #. "Tweaks to madvise() and posix_fadvise()", 14 Feb 2006
522 #. type: Plain text
523 #. #-#-#-#-# debian-unstable: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
524 #. commit f822566165dd46ff5de9bf895cfa6c51f53bb0c4
525 #. See http://lwn.net/Articles/171941/
526 #. [PATCH] madvise MADV_DONTFORK/MADV_DOFORK
527 #. Currently, copy-on-write may change the physical address of
528 #. a page even if the user requested that the page is pinned in
529 #. memory (either by mlock or by get_user_pages). This happens
530 #. if the process forks meanwhile, and the parent writes to that
531 #. page. As a result, the page is orphaned: in case of
532 #. get_user_pages, the application will never see any data hardware
533 #. DMA's into this page after the COW. In case of mlock'd memory,
534 #. the parent is not getting the realtime/security benefits of mlock.
535 #. In particular, this affects the Infiniband modules which do DMA from
536 #. and into user pages all the time.
537 #. This patch adds madvise options to control whether memory range is
538 #. inherited across fork. Useful, e.g., for when hardware is doing DMA
539 #. from/into these pages. Could also be useful to an application
540 #. wanting to speed up its forks by cutting large areas out of
541 #. consideration.
542 #. SEE ALSO: http://lwn.net/Articles/171941/
543 #. "Tweaks to madvise() and posix_fadvise()", 14 Feb 2006
544 #. type: Plain text
545 #. #-#-#-#-# fedora-44: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
546 #. commit f822566165dd46ff5de9bf895cfa6c51f53bb0c4
547 #. See http://lwn.net/Articles/171941/
548 #. [PATCH] madvise MADV_DONTFORK/MADV_DOFORK
549 #. Currently, copy-on-write may change the physical address of
550 #. a page even if the user requested that the page is pinned in
551 #. memory (either by mlock or by get_user_pages). This happens
552 #. if the process forks meanwhile, and the parent writes to that
553 #. page. As a result, the page is orphaned: in case of
554 #. get_user_pages, the application will never see any data hardware
555 #. DMA's into this page after the COW. In case of mlock'd memory,
556 #. the parent is not getting the realtime/security benefits of mlock.
557 #. In particular, this affects the Infiniband modules which do DMA from
558 #. and into user pages all the time.
559 #. This patch adds madvise options to control whether memory range is
560 #. inherited across fork. Useful e.g. for when hardware is doing DMA
561 #. from/into these pages. Could also be useful to an application
562 #. wanting to speed up its forks by cutting large areas out of
563 #. consideration.
564 #. SEE ALSO: http://lwn.net/Articles/171941/
565 #. "Tweaks to madvise() and posix_fadvise()", 14 Feb 2006
566 #. type: Plain text
567 #. #-#-#-#-# fedora-rawhide: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
568 #. commit f822566165dd46ff5de9bf895cfa6c51f53bb0c4
569 #. See http://lwn.net/Articles/171941/
570 #. [PATCH] madvise MADV_DONTFORK/MADV_DOFORK
571 #. Currently, copy-on-write may change the physical address of
572 #. a page even if the user requested that the page is pinned in
573 #. memory (either by mlock or by get_user_pages). This happens
574 #. if the process forks meanwhile, and the parent writes to that
575 #. page. As a result, the page is orphaned: in case of
576 #. get_user_pages, the application will never see any data hardware
577 #. DMA's into this page after the COW. In case of mlock'd memory,
578 #. the parent is not getting the realtime/security benefits of mlock.
579 #. In particular, this affects the Infiniband modules which do DMA from
580 #. and into user pages all the time.
581 #. This patch adds madvise options to control whether memory range is
582 #. inherited across fork. Useful e.g. for when hardware is doing DMA
583 #. from/into these pages. Could also be useful to an application
584 #. wanting to speed up its forks by cutting large areas out of
585 #. consideration.
586 #. SEE ALSO: http://lwn.net/Articles/171941/
587 #. "Tweaks to madvise() and posix_fadvise()", 14 Feb 2006
588 #. type: Plain text
589 #. #-#-#-#-# mageia-cauldron: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
590 #. commit f822566165dd46ff5de9bf895cfa6c51f53bb0c4
591 #. See http://lwn.net/Articles/171941/
592 #. [PATCH] madvise MADV_DONTFORK/MADV_DOFORK
593 #. Currently, copy-on-write may change the physical address of
594 #. a page even if the user requested that the page is pinned in
595 #. memory (either by mlock or by get_user_pages). This happens
596 #. if the process forks meanwhile, and the parent writes to that
597 #. page. As a result, the page is orphaned: in case of
598 #. get_user_pages, the application will never see any data hardware
599 #. DMA's into this page after the COW. In case of mlock'd memory,
600 #. the parent is not getting the realtime/security benefits of mlock.
601 #. In particular, this affects the Infiniband modules which do DMA from
602 #. and into user pages all the time.
603 #. This patch adds madvise options to control whether memory range is
604 #. inherited across fork. Useful, e.g., for when hardware is doing DMA
605 #. from/into these pages. Could also be useful to an application
606 #. wanting to speed up its forks by cutting large areas out of
607 #. consideration.
608 #. SEE ALSO: http://lwn.net/Articles/171941/
609 #. "Tweaks to madvise() and posix_fadvise()", 14 Feb 2006
610 #. type: Plain text
611 #. #-#-#-#-# opensuse-leap-16-1: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
612 #. commit f822566165dd46ff5de9bf895cfa6c51f53bb0c4
613 #. See http://lwn.net/Articles/171941/
614 #. [PATCH] madvise MADV_DONTFORK/MADV_DOFORK
615 #. Currently, copy-on-write may change the physical address of
616 #. a page even if the user requested that the page is pinned in
617 #. memory (either by mlock or by get_user_pages). This happens
618 #. if the process forks meanwhile, and the parent writes to that
619 #. page. As a result, the page is orphaned: in case of
620 #. get_user_pages, the application will never see any data hardware
621 #. DMA's into this page after the COW. In case of mlock'd memory,
622 #. the parent is not getting the realtime/security benefits of mlock.
623 #. In particular, this affects the Infiniband modules which do DMA from
624 #. and into user pages all the time.
625 #. This patch adds madvise options to control whether memory range is
626 #. inherited across fork. Useful, e.g., for when hardware is doing DMA
627 #. from/into these pages. Could also be useful to an application
628 #. wanting to speed up its forks by cutting large areas out of
629 #. consideration.
630 #. SEE ALSO: http://lwn.net/Articles/171941/
631 #. "Tweaks to madvise() and posix_fadvise()", 14 Feb 2006
632 #. type: Plain text
633 #. #-#-#-#-# opensuse-tumbleweed: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
634 #. commit f822566165dd46ff5de9bf895cfa6c51f53bb0c4
635 #. See http://lwn.net/Articles/171941/
636 #. [PATCH] madvise MADV_DONTFORK/MADV_DOFORK
637 #. Currently, copy-on-write may change the physical address of
638 #. a page even if the user requested that the page is pinned in
639 #. memory (either by mlock or by get_user_pages). This happens
640 #. if the process forks meanwhile, and the parent writes to that
641 #. page. As a result, the page is orphaned: in case of
642 #. get_user_pages, the application will never see any data hardware
643 #. DMA's into this page after the COW. In case of mlock'd memory,
644 #. the parent is not getting the realtime/security benefits of mlock.
645 #. In particular, this affects the Infiniband modules which do DMA from
646 #. and into user pages all the time.
647 #. This patch adds madvise options to control whether memory range is
648 #. inherited across fork. Useful, e.g., for when hardware is doing DMA
649 #. from/into these pages. Could also be useful to an application
650 #. wanting to speed up its forks by cutting large areas out of
651 #. consideration.
652 #. SEE ALSO: http://lwn.net/Articles/171941/
653 #. "Tweaks to madvise() and posix_fadvise()", 14 Feb 2006
654 #. type: Plain text
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 msgid ""
658 "Do not make the pages in this range available to the child after a "
659 "B<fork>(2). This is useful to prevent copy-on-write semantics from changing "
660 "the physical location of a page if the parent writes to it after a "
661 "B<fork>(2). (Such page relocations cause problems for hardware that DMAs "
662 "into the page.)"
663 msgstr ""
664 "Сделать недоступными страницы в указанном диапазоне для потомка после "
665 "B<fork>(2). Это полезно для предотвращения изменения физического "
666 "расположения страницы копирования-при-записи, если родитель будет изменять "
667 "её после B<fork>(2) (перемещение таких страниц вызывает проблемы для "
668 "оборудования, обращающегося к страницам через DMA)."
669
670 #. type: TP
671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
673 #, no-wrap
674 msgid "B<MADV_DOFORK> (since Linux 2.6.16)"
675 msgstr "B<MADV_DOFORK> (начиная с Linux 2.6.16)"
676
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 msgid ""
681 "Undo the effect of B<MADV_DONTFORK>, restoring the default behavior, whereby "
682 "a mapping is inherited across B<fork>(2)."
683 msgstr ""
684 "Отменить действие B<MADV_DONTFORK>, восстановить поведение по умолчанию, в "
685 "силу чего происходит наследование отображения после B<fork>(2)."
686
687 #. type: TP
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, no-wrap
691 msgid "B<MADV_HWPOISON> (since Linux 2.6.32)"
692 msgstr "B<MADV_HWPOISON> (начиная с Linux 2.6.32)"
693
694 #. commit 9893e49d64a4874ea67849ee2cfbf3f3d6817573
695 #. type: Plain text
696 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
697 #: opensuse-leap-16-1 opensuse-tumbleweed
698 #, fuzzy
699 #| msgid ""
700 #| "Poison the pages in the range specified by I<addr> and I<length> and "
701 #| "handle subsequent references to those pages like a hardware memory "
702 #| "corruption. This operation is available only for privileged "
703 #| "(B<CAP_SYS_ADMIN>) processes. This operation may result in the calling "
704 #| "process receiving a B<SIGBUS> and the page being unmapped."
705 msgid ""
706 "Poison the pages in the range specified by I<addr> and I<size> and handle "
707 "subsequent references to those pages like a hardware memory corruption. "
708 "This operation is available only for privileged (B<CAP_SYS_ADMIN>) "
709 "processes. This operation may result in the calling process receiving a "
710 "B<SIGBUS> and the page being unmapped."
711 msgstr ""
712 "Испортить страницы в диапазоне, заданном I<addr> и I<length>, и обрабатывать "
713 "последующие ссылки на эти страницы как при аппаратном повреждении памяти. "
714 "Данная операция доступна только для привилегированных (B<CAP_SYS_ADMIN>) "
715 "процессов. Она может привести к тому, что вызывающий процесс получит "
716 "B<SIGBUS> и отображение страницы удалится."
717
718 #. type: Plain text
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 msgid ""
722 "This feature is intended for testing of memory error-handling code; it is "
723 "available only if the kernel was configured with B<CONFIG_MEMORY_FAILURE>."
724 msgstr ""
725 "Это свойство предназначено для тестирования кода обработки ошибок памяти; "
726 "оно доступно только, если ядро было собрано с параметром "
727 "B<CONFIG_MEMORY_FAILURE>."
728
729 #. type: TP
730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
732 #, no-wrap
733 msgid "B<MADV_MERGEABLE> (since Linux 2.6.32)"
734 msgstr "B<MADV_MERGEABLE> (начиная с Linux 2.6.32)"
735
736 #. commit f8af4da3b4c14e7267c4ffb952079af3912c51c5
737 #. type: Plain text
738 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
739 #: opensuse-leap-16-1 opensuse-tumbleweed
740 #, fuzzy
741 #| msgid ""
742 #| "Enable Kernel Samepage Merging (KSM) for the pages in the range specified "
743 #| "by I<addr> and I<length>. The kernel regularly scans those areas of user "
744 #| "memory that have been marked as mergeable, looking for pages with "
745 #| "identical content. These are replaced by a single write-protected page "
746 #| "(which is automatically copied if a process later wants to update the "
747 #| "content of the page). KSM merges only private anonymous pages (see "
748 #| "B<mmap>(2))."
749 msgid ""
750 "Enable Kernel Samepage Merging (KSM) for the pages in the range specified by "
751 "I<addr> and I<size>. The kernel regularly scans those areas of user memory "
752 "that have been marked as mergeable, looking for pages with identical "
753 "content. These are replaced by a single write-protected page (which is "
754 "automatically copied if a process later wants to update the content of the "
755 "page). KSM merges only private anonymous pages (see B<mmap>(2))."
756 msgstr ""
757 "Включает слияние одинаковых страниц ядра (Kernel Samepage Merging, KSM) для "
758 "страниц в диапазоне, указанном I<addr> и I<length>. Ядро периодически "
759 "сканирует области пользовательской памяти, которые были помечены для "
760 "слияния, разыскивая станицы с одинаковым содержимым. Такие страницы "
761 "заменяются единственной страницей, защищённой от записи (которая "
762 "автоматически копируется, если позднее процесс захочет изменить содержимое "
763 "страницы). При KSM слияние выполняется только для частных анонимных страниц "
764 "(смотрите B<mmap>(2))."
765
766 #. type: Plain text
767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
769 msgid ""
770 "The KSM feature is intended for applications that generate many instances of "
771 "the same data (e.g., virtualization systems such as KVM). It can consume a "
772 "lot of processing power; use with care. See the Linux kernel source file "
773 "I<Documentation/admin-guide/mm/ksm.rst> for more details."
774 msgstr ""
775 "Возможность KSM предназначена для приложений, которые генерируют много "
776 "экземпляров одинаковых данных (например, для систем виртуализации, таких как "
777 "KVM). Эта возможность может нагрузить процессор; используйте осторожно. "
778 "Дополнительную информацию можно найти в файле исходного кода ядра "
779 "I<Documentation/admin-guide/mm/ksm.rst>."
780
781 #. type: Plain text
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 msgid ""
785 "The B<MADV_MERGEABLE> and B<MADV_UNMERGEABLE> operations are available only "
786 "if the kernel was configured with B<CONFIG_KSM>."
787 msgstr ""
788 "Операции B<MADV_MERGEABLE> и B<MADV_UNMERGEABLE> доступны только, если ядро "
789 "собрано с параметром B<CONFIG_KSM>."
790
791 #. type: TP
792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
794 #, no-wrap
795 msgid "B<MADV_UNMERGEABLE> (since Linux 2.6.32)"
796 msgstr "B<MADV_UNMERGEABLE> (начиная с Linux 2.6.32)"
797
798 #. type: Plain text
799 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
800 #: opensuse-leap-16-1 opensuse-tumbleweed
801 #, fuzzy
802 #| msgid ""
803 #| "Undo the effect of an earlier B<MADV_MERGEABLE> operation on the "
804 #| "specified address range; KSM unmerges whatever pages it had merged in the "
805 #| "address range specified by I<addr> and I<length>."
806 msgid ""
807 "Undo the effect of an earlier B<MADV_MERGEABLE> operation on the specified "
808 "address range; KSM unmerges whatever pages it had merged in the address "
809 "range specified by I<addr> and I<size>."
810 msgstr ""
811 "Отменить действие ранее применённой операции B<MADV_MERGEABLE> для "
812 "указанного диапазона; KSM разделяет ранее объединённые страницы в диапазоне, "
813 "заданном I<addr> и I<length>."
814
815 #. type: TP
816 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
817 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
818 #, no-wrap
819 msgid "B<MADV_SOFT_OFFLINE> (since Linux 2.6.33)"
820 msgstr "B<MADV_SOFT_OFFLINE> (начиная с Linux 2.6.33)"
821
822 #. commit afcf938ee0aac4ef95b1a23bac704c6fbeb26de6
823 #. type: Plain text
824 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
825 #: opensuse-leap-16-1 opensuse-tumbleweed
826 #, fuzzy
827 #| msgid ""
828 #| "Soft offline the pages in the range specified by I<addr> and I<length>. "
829 #| "The memory of each page in the specified range is preserved (i.e., when "
830 #| "next accessed, the same content will be visible, but in a new physical "
831 #| "page frame), and the original page is offlined (i.e., no longer used, and "
832 #| "taken out of normal memory management). The effect of the "
833 #| "B<MADV_SOFT_OFFLINE> operation is invisible to (i.e., does not change the "
834 #| "semantics of) the calling process."
835 msgid ""
836 "Soft offline the pages in the range specified by I<addr> and I<size>. The "
837 "memory of each page in the specified range is preserved (i.e., when next "
838 "accessed, the same content will be visible, but in a new physical page "
839 "frame), and the original page is offlined (i.e., no longer used, and taken "
840 "out of normal memory management). The effect of the B<MADV_SOFT_OFFLINE> "
841 "operation is invisible to (i.e., does not change the semantics of) the "
842 "calling process."
843 msgstr ""
844 "Программно отключить страницы в диапазоне, указанном I<addr> и I<length>. "
845 "Память каждой страницы в указанном диапазоне сохраняется (т. е., при "
846 "следующем доступе будет выдано то же содержимое, но в новых физических "
847 "границах страницы) и первоначальная страница отключается (т. е., больше не "
848 "используется и не участвует при обычном управлении памятью). Эффект операции "
849 "B<MADV_SOFT_OFFLINE> обычно незаметен (т. е., не изменяет семантику) для "
850 "вызывающего процесса."
851
852 #. type: TP
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 #, no-wrap
856 msgid "B<MADV_HUGEPAGE> (since Linux 2.6.38)"
857 msgstr "B<MADV_HUGEPAGE> (начиная с Linux 2.6.38)"
858
859 #. commit 0af4e98b6b095c74588af04872f83d333c958c32
860 #. http://lwn.net/Articles/358904/
861 #. https://lwn.net/Articles/423584/
862 #. type: Plain text
863 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
864 #: opensuse-leap-16-1 opensuse-tumbleweed
865 #, fuzzy
866 #| msgid ""
867 #| "Enable Transparent Huge Pages (THP) for pages in the range specified by "
868 #| "I<addr> and I<length>. Currently, Transparent Huge Pages work only with "
869 #| "private anonymous pages (see B<mmap>(2)). The kernel will regularly scan "
870 #| "the areas marked as huge page candidates to replace them with huge "
871 #| "pages. The kernel will also allocate huge pages directly when the region "
872 #| "is naturally aligned to the huge page size (see B<posix_memalign>(2))."
873 msgid ""
874 "Enable Transparent Huge Pages (THP) for pages in the range specified by "
875 "I<addr> and I<size>. The kernel will regularly scan the areas marked as "
876 "huge page candidates to replace them with huge pages. The kernel will also "
877 "allocate huge pages directly when the region is naturally aligned to the "
878 "huge page size (see B<posix_memalign>(2))."
879 msgstr ""
880 "Включает прозрачность огромных страниц (Transparent Huge Pages, THP) для "
881 "страниц в диапазоне, указанном I<addr> и I<length>. В настоящий момент, THP "
882 "работает только для закрытых (private) анонимных страниц (смотрите "
883 "B<mmap>(2)). Ядро будет периодически сканировать области, помеченные как "
884 "кандидаты в огромные страницы, для замены их огромными страницами. Ядро "
885 "также будет непосредственно выделять огромные страницы, если область "
886 "выравнена на аппаратный (naturally) размер огромной страницы при создании "
887 "(смотрите B<posix_memalign>(2))."
888
889 #. type: Plain text
890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
892 msgid ""
893 "This feature is primarily aimed at applications that use large mappings of "
894 "data and access large regions of that memory at a time (e.g., virtualization "
895 "systems such as QEMU). It can very easily waste memory (e.g., a 2\\ MB "
896 "mapping that only ever accesses 1 byte will result in 2\\ MB of wired memory "
897 "instead of one 4\\ KB page). See the Linux kernel source file "
898 "I<Documentation/admin-guide/mm/transhuge.rst> for more details."
899 msgstr ""
900 "В основном, эта возможность предназначена для приложений, которые используют "
901 "большие отображения данных и доступ к большим областям этой памяти за один "
902 "приём (например, системы виртуализации, такие как QEMU). С её помощью можно "
903 "очень легко занять память (например, на 2\\ МБ отображение, из которого "
904 "нужен только 1 байт, будет потрачено 2\\ МБ реальной памяти вместо одной 4\\ "
905 "КБ страницы). Дополнительную информацию смотрите в файле I<Documentation/"
906 "admin-guide/mm/transhuge.rst> из исходного кода ядра."
907
908 #. type: Plain text
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 msgid ""
912 "Most common kernels configurations provide B<MADV_HUGEPAGE>-style behavior "
913 "by default, and thus B<MADV_HUGEPAGE> is normally not necessary. It is "
914 "mostly intended for embedded systems, where B<MADV_HUGEPAGE>-style behavior "
915 "may not be enabled by default in the kernel. On such systems, this flag can "
916 "be used in order to selectively enable THP. Whenever B<MADV_HUGEPAGE> is "
917 "used, it should always be in regions of memory with an access pattern that "
918 "the developer knows in advance won't risk to increase the memory footprint "
919 "of the application when transparent hugepages are enabled."
920 msgstr ""
921
922 #. commit 99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0
923 #. type: Plain text
924 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
925 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
926 msgid ""
927 "Since Linux 5.4, automatic scan of eligible areas and replacement by huge "
928 "pages works with private anonymous pages (see B<mmap>(2)), shmem pages, and "
929 "file-backed pages. For all memory types, memory may only be replaced by "
930 "huge pages on hugepage-aligned boundaries. For file-mapped memory \\"
931 "[em]including tmpfs (see B<tmpfs>(2))\\[em] the mapping must also be "
932 "naturally hugepage-aligned within the file. Additionally, for file-backed, "
933 "non-tmpfs memory, the file must not be open for write and the mapping must "
934 "be executable."
935 msgstr ""
936
937 #. type: Plain text
938 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
939 #: opensuse-tumbleweed
940 msgid ""
941 "The VMA must not be marked B<VM_NOHUGEPAGE>, B<VM_HUGETLB>, B<VM_IO>, "
942 "B<VM_DONTEXPAND>, B<VM_MIXEDMAP>, or B<VM_PFNMAP>, nor can it be stack "
943 "memory or backed by a DAX-enabled device (unless the DAX device is hot-"
944 "plugged as System RAM). The process can have B<PR_SET_THP_DISABLE> set only "
945 "if B<PR_THP_DISABLE_EXCEPT_ADVISED> is set (see B<prctl>(2))."
946 msgstr ""
947
948 #. type: Plain text
949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
951 #, fuzzy
952 #| msgid ""
953 #| "The B<MADV_HUGEPAGE> and B<MADV_NOHUGEPAGE> operations are available only "
954 #| "if the kernel was configured with B<CONFIG_TRANSPARENT_HUGEPAGE>."
955 msgid ""
956 "The B<MADV_HUGEPAGE>, B<MADV_NOHUGEPAGE>, and B<MADV_COLLAPSE> operations "
957 "are available only if the kernel was configured with "
958 "B<CONFIG_TRANSPARENT_HUGEPAGE> and file/shmem memory is only supported if "
959 "the kernel was configured with B<CONFIG_READ_ONLY_THP_FOR_FS>."
960 msgstr ""
961 "Операции B<MADV_HUGEPAGE> и B<MADV_NOHUGEPAGE> доступны только, если ядро "
962 "собрано с параметром B<CONFIG_TRANSPARENT_HUGEPAGE>."
963
964 #. type: TP
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 #, no-wrap
968 msgid "B<MADV_NOHUGEPAGE> (since Linux 2.6.38)"
969 msgstr "B<MADV_NOHUGEPAGE> (начиная с Linux 2.6.38)"
970
971 #. type: Plain text
972 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
973 #: opensuse-leap-16-1 opensuse-tumbleweed
974 #, fuzzy
975 #| msgid ""
976 #| "Ensures that memory in the address range specified by I<addr> and "
977 #| "I<length> will not be collapsed into huge pages."
978 msgid ""
979 "Ensures that memory in the address range specified by I<addr> and I<size> "
980 "will not be backed by transparent hugepages."
981 msgstr ""
982 "Проверить, что память адресного пространства, указанного в I<addr> и "
983 "I<length>, не будет свёрнута в огромные страницы."
984
985 #. type: TP
986 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
987 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
988 #, fuzzy, no-wrap
989 #| msgid "B<MADV_COLD> (since Linux 5.4)"
990 msgid "B<MADV_COLLAPSE> (since Linux 6.1)"
991 msgstr "B<MADV_COLD> (начиная с Linux 5.4)"
992
993 #. commit 7d8faaf155454f8798ec56404faca29a82689c77
994 #. commit 34488399fa08faaf664743fa54b271eb6f9e1321
995 #. type: Plain text
996 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
997 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
998 msgid ""
999 "Perform a best-effort synchronous collapse of the native pages mapped by the "
1000 "memory range into Transparent Huge Pages (THPs). B<MADV_COLLAPSE> operates "
1001 "on the current state of memory of the calling process and makes no "
1002 "persistent changes or guarantees on how pages will be mapped, constructed, "
1003 "or faulted in the future."
1004 msgstr ""
1005
1006 #. type: Plain text
1007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1009 msgid ""
1010 "B<MADV_COLLAPSE> supports private anonymous pages (see B<mmap>(2)), shmem "
1011 "pages, and file-backed pages. See B<MADV_HUGEPAGE> for general information "
1012 "on memory requirements for THP. If the range provided spans multiple VMAs, "
1013 "the semantics of the collapse over each VMA is independent from the others. "
1014 "If collapse of a given huge page-aligned/sized region fails, the operation "
1015 "may continue to attempt collapsing the remainder of the specified memory. "
1016 "B<MADV_COLLAPSE> will automatically clamp the provided range to be hugepage-"
1017 "aligned."
1018 msgstr ""
1019
1020 #. type: Plain text
1021 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1022 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1023 msgid ""
1024 "All non-resident pages covered by the range will first be swapped/faulted-"
1025 "in, before being copied onto a freshly allocated hugepage. If the native "
1026 "pages compose the same PTE-mapped hugepage, and are suitably aligned, "
1027 "allocation of a new hugepage may be elided and collapse may happen in-"
1028 "place. Unmapped pages will have their data directly initialized to 0 in the "
1029 "new hugepage. However, for every eligible hugepage-aligned/sized region to "
1030 "be collapsed, at least one page must currently be backed by physical memory."
1031 msgstr ""
1032
1033 #. type: Plain text
1034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1036 msgid ""
1037 "B<MADV_COLLAPSE> is independent of any sysfs (see B<sysfs>(5)) setting "
1038 "under I</sys/kernel/mm/transparent_hugepage>, both in terms of determining "
1039 "THP eligibility, and allocation semantics. See Linux kernel source file "
1040 "I<Documentation/admin-guide/mm/transhuge.rst> for more information. "
1041 "B<MADV_COLLAPSE> also ignores B<huge=> tmpfs mount when operating on tmpfs "
1042 "files. Allocation for the new hugepage may enter direct reclaim and/or "
1043 "compaction, regardless of VMA flags (though B<VM_NOHUGEPAGE> is still "
1044 "respected)."
1045 msgstr ""
1046
1047 #. type: Plain text
1048 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1049 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1050 msgid ""
1051 "When the system has multiple NUMA nodes, the hugepage will be allocated from "
1052 "the node providing the most native pages."
1053 msgstr ""
1054
1055 #. type: Plain text
1056 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1057 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1058 msgid ""
1059 "If all hugepage-sized/aligned regions covered by the provided range were "
1060 "either successfully collapsed, or were already PMD-mapped THPs, this "
1061 "operation will be deemed successful. Note that this doesn't guarantee "
1062 "anything about other possible mappings of the memory. In the event multiple "
1063 "hugepage-aligned/sized areas fail to collapse, only the most-recently\\"
1064 "[en]failed code will be set in I<errno>."
1065 msgstr ""
1066
1067 #. type: TP
1068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1070 #, no-wrap
1071 msgid "B<MADV_DONTDUMP> (since Linux 3.4)"
1072 msgstr "B<MADV_DONTDUMP> (начиная с Linux 3.4)"
1073
1074 #. commit 909af768e88867016f427264ae39d27a57b6a8ed
1075 #. commit accb61fe7bb0f5c2a4102239e4981650f9048519
1076 #. type: Plain text
1077 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1078 #: opensuse-leap-16-1 opensuse-tumbleweed
1079 #, fuzzy
1080 #| msgid ""
1081 #| "Exclude from a core dump those pages in the range specified by I<addr> "
1082 #| "and I<length>. This is useful in applications that have large areas of "
1083 #| "memory that are known not to be useful in a core dump. The effect of "
1084 #| "B<MADV_DONTDUMP> takes precedence over the bit mask that is set via the "
1085 #| "I</proc/[pid]/coredump_filter> file (see B<core>(5))."
1086 msgid ""
1087 "Exclude from a core dump those pages in the range specified by I<addr> and "
1088 "I<size>. This is useful in applications that have large areas of memory "
1089 "that are known not to be useful in a core dump. The effect of "
1090 "B<MADV_DONTDUMP> takes precedence over the bit mask that is set via the I</"
1091 "proc/>pidI</coredump_filter> file (see B<core>(5))."
1092 msgstr ""
1093 "Исключить из дампа памяти страницы диапазона, задаваемого значениями I<addr> "
1094 "и I<length>. Это полезно в приложениях, которые занимают большие области в "
1095 "памяти, про которые известно, что они ничем не помогут будучи в дампе "
1096 "памяти. Действие B<MADV_DONTDUMP> имеет преимущество над битовой маской, "
1097 "которая устанавливается в файле I</proc/[pid]/coredump_filter> (смотрите "
1098 "B<core>(5))."
1099
1100 #. type: TP
1101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1103 #, no-wrap
1104 msgid "B<MADV_DODUMP> (since Linux 3.4)"
1105 msgstr "B<MADV_DODUMP> (начиная с Linux 3.4)"
1106
1107 #. type: Plain text
1108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1110 msgid "Undo the effect of an earlier B<MADV_DONTDUMP>."
1111 msgstr "Отменяет действие, установленное ранее B<MADV_DONTDUMP>."
1112
1113 #. type: TP
1114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1116 #, no-wrap
1117 msgid "B<MADV_FREE> (since Linux 4.5)"
1118 msgstr "B<MADV_FREE> (начиная с Linux 4.5)"
1119
1120 #. type: Plain text
1121 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1122 #: opensuse-leap-16-1 opensuse-tumbleweed
1123 #, fuzzy
1124 #| msgid ""
1125 #| "The application no longer requires the pages in the range specified by "
1126 #| "I<addr> and I<len>. The kernel can thus free these pages, but the "
1127 #| "freeing could be delayed until memory pressure occurs. For each of the "
1128 #| "pages that has been marked to be freed but has not yet been freed, the "
1129 #| "free operation will be canceled if the caller writes into the page. "
1130 #| "After a successful B<MADV_FREE> operation, any stale data (i.e., dirty, "
1131 #| "unwritten pages) will be lost when the kernel frees the pages. However, "
1132 #| "subsequent writes to pages in the range will succeed and then kernel "
1133 #| "cannot free those dirtied pages, so that the caller can always see just "
1134 #| "written data. If there is no subsequent write, the kernel can free the "
1135 #| "pages at any time. Once pages in the range have been freed, the caller "
1136 #| "will see zero-fill-on-demand pages upon subsequent page references."
1137 msgid ""
1138 "The application no longer requires the pages in the range specified by "
1139 "I<addr> and I<size>. The kernel can thus free these pages, but the freeing "
1140 "could be delayed until memory pressure occurs. For each of the pages that "
1141 "has been marked to be freed but has not yet been freed, the free operation "
1142 "will be canceled if the caller writes into the page. After a successful "
1143 "B<MADV_FREE> operation, any stale data (i.e., dirty, unwritten pages) will "
1144 "be lost when the kernel frees the pages. However, subsequent writes to "
1145 "pages in the range will succeed and then kernel cannot free those dirtied "
1146 "pages, so that the caller can always see just written data. If there is no "
1147 "subsequent write, the kernel can free the pages at any time. Once pages in "
1148 "the range have been freed, the caller will see zero-fill-on-demand pages "
1149 "upon subsequent page references."
1150 msgstr ""
1151 "Приложению больше не требуются страницы в диапазоне, задаваемом I<addr> и "
1152 "I<len>, поэтому ядро может освободить эти страницы, но освобождение может "
1153 "быть отложено до тех пор, пока не понадобится память. Для каждой страницы, "
1154 "помеченной как свободная, но ещё не освобождённая, операция освобождения "
1155 "будет отменена, если вызывающий выполнит запись в эту страницу. После "
1156 "успешного выполнения операции B<MADV_FREE> все повисшие данные (т. е., "
1157 "изменённые (dirty) и не записанные страницы) будут потеряны в момент "
1158 "освобождения страниц ядром. Однако последующая запись в страницы в этом "
1159 "диапазоне будет успешной и поэтому ядро не сможет освободить эти изменённые "
1160 "страницы и вызывающий всегда может видеть только что записанные данные. Если "
1161 "последующей записи не было, то ядро может освободить страницы в любой "
1162 "момент. После освобождения страниц диапазона при последующем доступе "
1163 "вызывающий может видеть страницы заполненные нулями по требованию."
1164
1165 #. commit 93e06c7a645343d222c9a838834a51042eebbbf7
1166 #. type: Plain text
1167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1169 #, fuzzy
1170 #| msgid ""
1171 #| "The B<MADV_FREE> operation can be applied only to private anonymous pages "
1172 #| "(see B<mmap>(2)). In Linux before version 4.12, when freeing pages on a "
1173 #| "swapless system, the pages in the given range are freed instantly, "
1174 #| "regardless of memory pressure."
1175 msgid ""
1176 "The B<MADV_FREE> operation can be applied only to private anonymous pages "
1177 "(see B<mmap>(2)). Before Linux 4.12, when freeing pages on a swapless "
1178 "system, the pages in the given range are freed instantly, regardless of "
1179 "memory pressure."
1180 msgstr ""
1181 "Операция B<MADV_FREE> может применяться только при частным анонимным "
1182 "страницам (смотрите B<mmap>(2)). В Linux до версии 4.12 страницы задаваемого "
1183 "диапазона в системе без подкачки освобождаются сразу, независимо от "
1184 "необходимости в памяти."
1185
1186 #. type: TP
1187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1189 #, no-wrap
1190 msgid "B<MADV_WIPEONFORK> (since Linux 4.14)"
1191 msgstr "B<MADV_WIPEONFORK> (начиная с Linux 4.14)"
1192
1193 #. commit d2cd9ede6e193dd7d88b6d27399e96229a551b19
1194 #. type: Plain text
1195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1197 msgid ""
1198 "Present the child process with zero-filled memory in this range after a "
1199 "B<fork>(2). This is useful in forking servers in order to ensure that "
1200 "sensitive per-process data (for example, PRNG seeds, cryptographic secrets, "
1201 "and so on) is not handed to child processes."
1202 msgstr ""
1203 "Выдать дочернему процессу заполненную нулями память в этом диапазоне после "
1204 "B<fork>(2). Это позволяет при ветвлении (forking) серверов стереть важные "
1205 "данные процесса (например, начальные значения PRNG, данные шифрования и т. "
1206 "п.) у дочерних процессов."
1207
1208 #. type: Plain text
1209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1211 msgid ""
1212 "The B<MADV_WIPEONFORK> operation can be applied only to private anonymous "
1213 "pages (see B<mmap>(2))."
1214 msgstr ""
1215 "Операция B<MADV_WIPEONFORK> применима только к частным анонимным страницам "
1216 "(смотрите B<mmap>(2))."
1217
1218 #. type: Plain text
1219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1221 msgid ""
1222 "Within the child created by B<fork>(2), the B<MADV_WIPEONFORK> setting "
1223 "remains in place on the specified address range. This setting is cleared "
1224 "during B<execve>(2)."
1225 msgstr ""
1226 "В потомке, созданном B<fork>(2), значение B<MADV_WIPEONFORK> остаётся у "
1227 "указанного адресного диапазона. Это значение стирается при B<execve>(2)."
1228
1229 #. type: TP
1230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1232 #, no-wrap
1233 msgid "B<MADV_KEEPONFORK> (since Linux 4.14)"
1234 msgstr "B<MADV_KEEPONFORK> (начиная с Linux 4.14)"
1235
1236 #. commit d2cd9ede6e193dd7d88b6d27399e96229a551b19
1237 #. type: Plain text
1238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1240 msgid "Undo the effect of an earlier B<MADV_WIPEONFORK>."
1241 msgstr "Отменяет действие, установленное ранее B<MADV_WIPEONFORK>."
1242
1243 #. type: TP
1244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1246 #, no-wrap
1247 msgid "B<MADV_COLD> (since Linux 5.4)"
1248 msgstr "B<MADV_COLD> (начиная с Linux 5.4)"
1249
1250 #. commit 9c276cc65a58faf98be8e56962745ec99ab87636
1251 #. type: Plain text
1252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1254 msgid ""
1255 "Deactivate a given range of pages. This will make the pages a more probable "
1256 "reclaim target should there be a memory pressure. This is a nondestructive "
1257 "operation. The advice might be ignored for some pages in the range when it "
1258 "is not applicable."
1259 msgstr ""
1260
1261 #. type: TP
1262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1264 #, no-wrap
1265 msgid "B<MADV_PAGEOUT> (since Linux 5.4)"
1266 msgstr "B<MADV_PAGEOUT> (начиная с Linux 5.4)"
1267
1268 #. commit 1a4e58cce84ee88129d5d49c064bd2852b481357
1269 #. type: Plain text
1270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1272 msgid ""
1273 "Reclaim a given range of pages. This is done to free up memory occupied by "
1274 "these pages. If a page is anonymous, it will be swapped out. If a page is "
1275 "file-backed and dirty, it will be written back to the backing storage. The "
1276 "advice might be ignored for some pages in the range when it is not "
1277 "applicable."
1278 msgstr ""
1279
1280 #. type: TP
1281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1283 #, no-wrap
1284 msgid "B<MADV_POPULATE_READ> (since Linux 5.14)"
1285 msgstr "B<MADV_POPULATE_READ> (начиная с Linux 5.14)"
1286
1287 #. type: Plain text
1288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1290 msgid ""
1291 "\"Populate (prefault) page tables readable, faulting in all pages in the "
1292 "range just as if manually reading from each page; however, avoid the actual "
1293 "memory access that would have been performed after handling the fault."
1294 msgstr ""
1295
1296 #. type: Plain text
1297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1299 msgid ""
1300 "In contrast to B<MAP_POPULATE>, B<MADV_POPULATE_READ> does not hide errors, "
1301 "can be applied to (parts of) existing mappings and will always populate "
1302 "(prefault) page tables readable. One example use case is prefaulting a file "
1303 "mapping, reading all file content from disk; however, pages won't be dirtied "
1304 "and consequently won't have to be written back to disk when evicting the "
1305 "pages from memory."
1306 msgstr ""
1307
1308 #. type: Plain text
1309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1311 msgid ""
1312 "Depending on the underlying mapping, map the shared zeropage, preallocate "
1313 "memory or read the underlying file; files with holes might or might not "
1314 "preallocate blocks. If populating fails, a B<SIGBUS> signal is not "
1315 "generated; instead, an error is returned."
1316 msgstr ""
1317
1318 #. type: Plain text
1319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1321 msgid ""
1322 "If B<MADV_POPULATE_READ> succeeds, all page tables have been populated "
1323 "(prefaulted) readable once. If B<MADV_POPULATE_READ> fails, some page "
1324 "tables might have been populated."
1325 msgstr ""
1326
1327 #. type: Plain text
1328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1330 msgid ""
1331 "B<MADV_POPULATE_READ> cannot be applied to mappings without read permissions "
1332 "and special mappings, for example, mappings marked with kernel-internal "
1333 "flags such as B<VM_PFNMAP> or B<VM_IO>, or secret memory regions created "
1334 "using B<memfd_secret(2)>."
1335 msgstr ""
1336
1337 #. type: Plain text
1338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1340 #, fuzzy
1341 #| msgid ""
1342 #| "On Linux, there are no guarantees like those suggested above under "
1343 #| "B<MAP_NORESERVE>. By default, any process can be killed at any moment "
1344 #| "when the system runs out of memory."
1345 msgid ""
1346 "Note that with B<MADV_POPULATE_READ>, the process can be killed at any "
1347 "moment when the system runs out of memory."
1348 msgstr ""
1349 "В Linux не гарантируется результат флага B<MAP_NORESERVE>, описанный выше. "
1350 "По умолчанию, любой процесс может быть принудительно завершён в любой "
1351 "момент, если в системе закончилась память."
1352
1353 #. type: TP
1354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1356 #, no-wrap
1357 msgid "B<MADV_POPULATE_WRITE> (since Linux 5.14)"
1358 msgstr "B<MADV_POPULATE_WRITE> (начиная с Linux 5.14)"
1359
1360 #. type: Plain text
1361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1363 msgid ""
1364 "Populate (prefault) page tables writable, faulting in all pages in the range "
1365 "just as if manually writing to each each page; however, avoid the actual "
1366 "memory access that would have been performed after handling the fault."
1367 msgstr ""
1368
1369 #. type: Plain text
1370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1372 msgid ""
1373 "In contrast to B<MAP_POPULATE>, MADV_POPULATE_WRITE does not hide errors, "
1374 "can be applied to (parts of) existing mappings and will always populate "
1375 "(prefault) page tables writable. One example use case is preallocating "
1376 "memory, breaking any CoW (Copy on Write)."
1377 msgstr ""
1378
1379 #. type: Plain text
1380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1382 msgid ""
1383 "Depending on the underlying mapping, preallocate memory or read the "
1384 "underlying file; files with holes will preallocate blocks. If populating "
1385 "fails, a B<SIGBUS> signal is not generated; instead, an error is returned."
1386 msgstr ""
1387
1388 #. type: Plain text
1389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1391 msgid ""
1392 "If B<MADV_POPULATE_WRITE> succeeds, all page tables have been populated "
1393 "(prefaulted) writable once. If B<MADV_POPULATE_WRITE> fails, some page "
1394 "tables might have been populated."
1395 msgstr ""
1396
1397 #. type: Plain text
1398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1400 msgid ""
1401 "B<MADV_POPULATE_WRITE> cannot be applied to mappings without write "
1402 "permissions and special mappings, for example, mappings marked with kernel-"
1403 "internal flags such as B<VM_PFNMAP> or B<VM_IO>, or secret memory regions "
1404 "created using B<memfd_secret(2)>."
1405 msgstr ""
1406
1407 #. type: Plain text
1408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1410 #, fuzzy
1411 #| msgid ""
1412 #| "On Linux, there are no guarantees like those suggested above under "
1413 #| "B<MAP_NORESERVE>. By default, any process can be killed at any moment "
1414 #| "when the system runs out of memory."
1415 msgid ""
1416 "Note that with B<MADV_POPULATE_WRITE>, the process can be killed at any "
1417 "moment when the system runs out of memory."
1418 msgstr ""
1419 "В Linux не гарантируется результат флага B<MAP_NORESERVE>, описанный выше. "
1420 "По умолчанию, любой процесс может быть принудительно завершён в любой "
1421 "момент, если в системе закончилась память."
1422
1423 #. type: TP
1424 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1425 #: opensuse-leap-16-1 opensuse-tumbleweed
1426 #, fuzzy, no-wrap
1427 #| msgid "B<MADV_COLD> (since Linux 5.4)"
1428 msgid "B<MADV_GUARD_INSTALL> (since Linux 6.13)"
1429 msgstr "B<MADV_COLD> (начиная с Linux 5.4)"
1430
1431 #. type: Plain text
1432 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1433 #: opensuse-leap-16-1 opensuse-tumbleweed
1434 msgid ""
1435 "Install a lightweight guard region into the range specified by I<addr> and "
1436 "I<size>, causing any read or write in the range to result in a B<SIGSEGV> "
1437 "signal being raised."
1438 msgstr ""
1439
1440 #. type: Plain text
1441 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1442 #: opensuse-leap-16-1 opensuse-tumbleweed
1443 msgid ""
1444 "If the region maps memory pages those mappings will be replaced as part of "
1445 "the operation, though if B<MADV_GUARD_INSTALL> is applied to regions "
1446 "containing pre-existing lightweight guard regions, they are left in place."
1447 msgstr ""
1448
1449 #. type: Plain text
1450 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1451 #: opensuse-tumbleweed
1452 msgid ""
1453 "Prior to Linux 6.15, this operation was supported only for writable "
1454 "anonymous private mappings. Since Linux 6.15, both anonymous and file-"
1455 "backed mappings are supported, including read-only mappings."
1456 msgstr ""
1457
1458 #. type: Plain text
1459 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1460 #: opensuse-tumbleweed
1461 msgid ""
1462 "The mapping must not be mlock'd, map hugetlb ranges, nor contain special "
1463 "mappings. For example, mappings marked with kernel-internal flags such as "
1464 "B<VM_PFNMAP> or B<VM_IO>, or secret memory regions created using "
1465 "B<memfd_secret>(2)."
1466 msgstr ""
1467
1468 #. type: Plain text
1469 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1470 #: opensuse-tumbleweed
1471 msgid ""
1472 "An B<EINVAL> error is returned if it is attempted on any other kind of "
1473 "mapping."
1474 msgstr ""
1475
1476 #. type: Plain text
1477 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1478 #: opensuse-leap-16-1 opensuse-tumbleweed
1479 msgid ""
1480 "This operation is more efficient than mapping a new region of memory "
1481 "B<PROT_NONE>, as it does not require the establishment of new mappings. "
1482 "Instead, regions of an existing mapping simply have their page tables "
1483 "manipulated to establish the desired behavior. No additional memory is used."
1484 msgstr ""
1485
1486 #. type: Plain text
1487 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1488 #: opensuse-leap-16-1 opensuse-tumbleweed
1489 msgid ""
1490 "Lightweight guard regions remain on fork (except for any parts which have "
1491 "had B<MADV_WIPEONFORK> applied to them), and are not removed by "
1492 "B<MADV_DONTNEED>, B<MADV_FREE>, B<MADV_PAGEOUT>, or B<MADV_COLD>."
1493 msgstr ""
1494
1495 #. type: Plain text
1496 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1497 #: opensuse-leap-16-1 opensuse-tumbleweed
1498 msgid ""
1499 "Attempting to B<mlock>(2) lightweight guard regions will fail, as will "
1500 "B<MADV_POPULATE_READ> or B<MADV_POPULATE_WRITE>."
1501 msgstr ""
1502
1503 #. type: Plain text
1504 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1505 #: opensuse-leap-16-1 opensuse-tumbleweed
1506 msgid ""
1507 "If the mapping has its attributes changed, or is split or partially "
1508 "unmapped, any existing guard regions remain in place (except if they are "
1509 "unmapped)."
1510 msgstr ""
1511
1512 #. type: Plain text
1513 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1514 #: opensuse-leap-16-1 opensuse-tumbleweed
1515 msgid ""
1516 "If a mapping is moved using B<mremap>(2), lightweight guard regions are "
1517 "moved with it."
1518 msgstr ""
1519
1520 #. type: Plain text
1521 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1522 #: opensuse-leap-16-1 opensuse-tumbleweed
1523 msgid ""
1524 "Lightweight guard regions are removed when unmapped, on process teardown, or "
1525 "when the B<MADV_GUARD_REMOVE> operation is applied to them."
1526 msgstr ""
1527
1528 #. type: TP
1529 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1530 #: opensuse-leap-16-1 opensuse-tumbleweed
1531 #, fuzzy, no-wrap
1532 #| msgid "B<MADV_REMOVE> (since Linux 2.6.16)"
1533 msgid "B<MADV_GUARD_REMOVE> (since Linux 6.13)"
1534 msgstr "B<MADV_REMOVE> (начиная с Linux 2.6.16)"
1535
1536 #. type: Plain text
1537 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1538 #: opensuse-leap-16-1 opensuse-tumbleweed
1539 msgid ""
1540 "Remove any lightweight guard regions which exist in the range specified by "
1541 "I<addr> and I<size>."
1542 msgstr ""
1543
1544 #. type: Plain text
1545 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1546 #: opensuse-tumbleweed
1547 msgid ""
1548 "All mappings in the range other than lightweight guard regions are left in "
1549 "place. The operation is supported on those mappings permitted by "
1550 "B<MADV_GUARD_INSTALL> in addition to mlock()'d mappings, returning an "
1551 "B<EINVAL> error otherwise."
1552 msgstr ""
1553
1554 #. type: Plain text
1555 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1556 #: opensuse-tumbleweed
1557 msgid ""
1558 "When lightweight guard regions are removed, they act as empty regions of the "
1559 "containing mapping. Therefore, anonymous private mappings become zero-fill-"
1560 "on-demand pages, and file-backed mappings are repopulated with the memory "
1561 "contents from the up-to-date contents of the underlying mapped file."
1562 msgstr ""
1563
1564 #. type: Plain text
1565 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1566 #: opensuse-leap-16-1 opensuse-tumbleweed
1567 msgid ""
1568 "If any transparent huge pages are encountered in the operation, they are "
1569 "left in place."
1570 msgstr ""
1571
1572 #. type: SH
1573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1575 #, no-wrap
1576 msgid "RETURN VALUE"
1577 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
1578
1579 #. type: Plain text
1580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1582 #, fuzzy
1583 #| msgid ""
1584 #| "On success B<move_pages>() returns zero. On error, it returns -1, and "
1585 #| "sets I<errno> to indicate the error."
1586 msgid ""
1587 "On success, B<madvise>() returns zero. On error, it returns -1 and "
1588 "I<errno> is set to indicate the error."
1589 msgstr ""
1590 "При нормальном завершении работы B<move_pages>() возвращает ноль. В случае "
1591 "ошибки возвращается -1, а I<errno> устанавливается в соответствующее "
1592 "значение."
1593
1594 #. type: SH
1595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1597 #, no-wrap
1598 msgid "ERRORS"
1599 msgstr "ОШИБКИ"
1600
1601 #. type: TP
1602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1604 #, no-wrap
1605 msgid "B<EACCES>"
1606 msgstr "B<EACCES>"
1607
1608 #. type: Plain text
1609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1611 msgid ""
1612 "I<advice> is B<MADV_REMOVE>, but the specified address range is not a shared "
1613 "writable mapping."
1614 msgstr ""
1615 "В I<advice> указан B<MADV_REMOVE>, но описанный диапазон адресов не является "
1616 "общей памятью с разрешением на записи"
1617
1618 #. type: TP
1619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1621 #, no-wrap
1622 msgid "B<EAGAIN>"
1623 msgstr "B<EAGAIN>"
1624
1625 #. type: Plain text
1626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1628 msgid "A kernel resource was temporarily unavailable."
1629 msgstr "Ресурс ядра временно недоступен."
1630
1631 #. type: TP
1632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1634 #, no-wrap
1635 msgid "B<EBADF>"
1636 msgstr "B<EBADF>"
1637
1638 #. type: Plain text
1639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1641 msgid "The map exists, but the area maps something that isn't a file."
1642 msgstr "Отображение существует, то область отображения не является файловой."
1643
1644 #. type: TP
1645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1647 #, no-wrap
1648 msgid "B<EBUSY>"
1649 msgstr "B<EBUSY>"
1650
1651 #. type: Plain text
1652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1654 msgid ""
1655 "(for B<MADV_COLLAPSE>) Could not charge hugepage to cgroup: cgroup limit "
1656 "exceeded."
1657 msgstr ""
1658
1659 #. type: Plain text
1660 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1661 #: opensuse-leap-16-1 opensuse-tumbleweed
1662 msgid ""
1663 "(for B<MADV_SOFT_OFFLINE>) Any pages within the specified address range "
1664 "could not be offlined. This might occur if the page is currently in use or "
1665 "locked."
1666 msgstr ""
1667
1668 #. type: TP
1669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1671 #, no-wrap
1672 msgid "B<EFAULT>"
1673 msgstr "B<EFAULT>"
1674
1675 #. type: Plain text
1676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1678 msgid ""
1679 "I<advice> is B<MADV_POPULATE_READ> or B<MADV_POPULATE_WRITE>, and populating "
1680 "(prefaulting) page tables failed because a B<SIGBUS> would have been "
1681 "generated on actual memory access and the reason is not a HW poisoned page "
1682 "(HW poisoned pages can, for example, be created using the B<MADV_HWPOISON> "
1683 "flag described elsewhere in this page)."
1684 msgstr ""
1685
1686 #. type: TP
1687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1689 #, no-wrap
1690 msgid "B<EINVAL>"
1691 msgstr "B<EINVAL>"
1692
1693 #. .I size
1694 #. is zero,
1695 #. type: Plain text
1696 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1697 #: opensuse-leap-16-1 opensuse-tumbleweed
1698 #, fuzzy
1699 #| msgid "I<addr> is not page-aligned or I<length> is negative."
1700 msgid "I<addr> is not page-aligned or I<size> is negative."
1701 msgstr ""
1702 "Значение параметра I<addr> не выровнено по границе страницы или параметр "
1703 "I<length> содержит отрицательное число."
1704
1705 #. type: Plain text
1706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1708 msgid "I<advice> is not a valid."
1709 msgstr "Значение I<advice> недопустимо."
1710
1711 #. type: Plain text
1712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1714 msgid ""
1715 "I<advice> is B<MADV_COLD> or B<MADV_PAGEOUT> and the specified address range "
1716 "includes locked, Huge TLB pages, or B<VM_PFNMAP> pages."
1717 msgstr ""
1718 "Значение I<advice> равно B<MADV_COLD> или B<MADV_PAGEOUT>, а указанный "
1719 "адресный диапазон включает заблокированные, Huge TLB или B<VM_PFNMAP> "
1720 "страницы."
1721
1722 #. type: Plain text
1723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1725 msgid ""
1726 "I<advice> is B<MADV_DONTNEED> or B<MADV_REMOVE> and the specified address "
1727 "range includes locked, Huge TLB pages, or B<VM_PFNMAP> pages."
1728 msgstr ""
1729 "Значение I<advice> равно B<MADV_DONTNEED> или B<MADV_REMOVE>, а указанный "
1730 "адресный диапазон включает заблокированные, Huge TLB или B<VM_PFNMAP> "
1731 "страницы."
1732
1733 #. type: Plain text
1734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1736 msgid ""
1737 "I<advice> is B<MADV_MERGEABLE> or B<MADV_UNMERGEABLE>, but the kernel was "
1738 "not configured with B<CONFIG_KSM>."
1739 msgstr ""
1740 "Значение I<advice> равно B<MADV_MERGEABLE> или B<MADV_UNMERGEABLE>, но ядро "
1741 "было собрано без параметра B<CONFIG_KSM>."
1742
1743 #. type: Plain text
1744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1746 msgid ""
1747 "I<advice> is B<MADV_FREE> or B<MADV_WIPEONFORK> but the specified address "
1748 "range includes file, Huge TLB, B<MAP_SHARED>, or B<VM_PFNMAP> ranges."
1749 msgstr ""
1750 "Значение I<advice> равно B<MADV_FREE> или B<MADV_WIPEONFORK>, но в указанном "
1751 "адресном диапазоне содержится файл, Huge TLB, диапазоны B<MAP_SHARED> или "
1752 "B<VM_PFNMAP>."
1753
1754 #. type: Plain text
1755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1757 msgid ""
1758 "I<advice> is B<MADV_POPULATE_READ> or B<MADV_POPULATE_WRITE>, but the "
1759 "specified address range includes ranges with insufficient permissions or "
1760 "special mappings, for example, mappings marked with kernel-internal flags "
1761 "such a B<VM_IO> or B<VM_PFNMAP>, or secret memory regions created using "
1762 "B<memfd_secret(2)>."
1763 msgstr ""
1764
1765 #. type: Plain text
1766 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1767 #: opensuse-leap-16-1 opensuse-tumbleweed
1768 #, fuzzy
1769 #| msgid ""
1770 #| "I<advice> is B<MADV_REMOVE>, but the specified address range is not a "
1771 #| "shared writable mapping."
1772 msgid ""
1773 "I<advice> is B<MADV_GUARD_INSTALL> or B<MADV_GUARD_REMOVE>, but the "
1774 "specified address range contains an unsupported mapping."
1775 msgstr ""
1776 "В I<advice> указан B<MADV_REMOVE>, но описанный диапазон адресов не является "
1777 "общей памятью с разрешением на записи"
1778
1779 #. type: TP
1780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1782 #, no-wrap
1783 msgid "B<EIO>"
1784 msgstr "B<EIO>"
1785
1786 #. type: Plain text
1787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1789 msgid ""
1790 "(for B<MADV_WILLNEED>) Paging in this area would exceed the process's "
1791 "maximum resident set size."
1792 msgstr ""
1793 "(для B<MADV_WILLNEED>) Выделение страницы в данной области превысило бы "
1794 "максимальный размер постоянно находящихся в памяти страниц для процесса "
1795 "(rss)."
1796
1797 #. type: TP
1798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1800 #, no-wrap
1801 msgid "B<ENOMEM>"
1802 msgstr "B<ENOMEM>"
1803
1804 #. type: Plain text
1805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1807 msgid "(for B<MADV_WILLNEED>) Not enough memory: paging in failed."
1808 msgstr ""
1809 "(для B<MADV_WILLNEED>) Недостаточно памяти: не удалось выделить страницу"
1810
1811 #. type: Plain text
1812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1814 #, fuzzy
1815 #| msgid "(for B<MADV_WILLNEED>) Not enough memory: paging in failed."
1816 msgid "(for B<MADV_COLLAPSE>) Not enough memory: could not allocate hugepage."
1817 msgstr ""
1818 "(для B<MADV_WILLNEED>) Недостаточно памяти: не удалось выделить страницу"
1819
1820 #. type: Plain text
1821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1823 msgid ""
1824 "Addresses in the specified range are not currently mapped, or are outside "
1825 "the address space of the process."
1826 msgstr ""
1827 "Адреса в указанном диапазоне в настоящее время не отображены, или лежит вне "
1828 "адресного пространства процесса."
1829
1830 #. type: Plain text
1831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1833 msgid ""
1834 "I<advice> is B<MADV_POPULATE_READ> or B<MADV_POPULATE_WRITE>, and populating "
1835 "(prefaulting) page tables failed because there was not enough memory."
1836 msgstr ""
1837
1838 #. type: TP
1839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1841 #, no-wrap
1842 msgid "B<EPERM>"
1843 msgstr "B<EPERM>"
1844
1845 #. type: Plain text
1846 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1847 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1848 msgid ""
1849 "I<advice> is B<MADV_HWPOISON>, but the caller does not have the "
1850 "B<CAP_SYS_ADMIN> capability."
1851 msgstr ""
1852 "В переменной I<advice> содержится B<MADV_HWPOISON>, но вызывающий не имеет "
1853 "мандата B<CAP_SYS_ADMIN>."
1854
1855 #. type: TP
1856 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1857 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1858 #, no-wrap
1859 msgid "B<EHWPOISON>"
1860 msgstr "B<EHWPOISON>"
1861
1862 #. type: Plain text
1863 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1864 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1865 msgid ""
1866 "I<advice> is B<MADV_POPULATE_READ> or B<MADV_POPULATE_WRITE>, and populating "
1867 "(prefaulting) page tables failed because a HW poisoned page (HW poisoned "
1868 "pages can, for example, be created using the B<MADV_HWPOISON> flag described "
1869 "elsewhere in this page) was encountered."
1870 msgstr ""
1871
1872 #. type: SH
1873 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1874 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1875 #, no-wrap
1876 msgid "VERSIONS"
1877 msgstr "ВЕРСИИ"
1878
1879 #. type: Plain text
1880 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1881 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1882 #, fuzzy
1883 #| msgid ""
1884 #| "B<madvise>() is not specified by any standards. Versions of this system "
1885 #| "call, implementing a wide variety of I<advice> values, exist on many "
1886 #| "other implementations. Other implementations typically implement at "
1887 #| "least the flags listed above under I<Conventional advice flags>, albeit "
1888 #| "with some variation in semantics."
1889 msgid ""
1890 "Versions of this system call, implementing a wide variety of I<advice> "
1891 "values, exist on many other implementations. Other implementations "
1892 "typically implement at least the flags listed above under I<Conventional "
1893 "advice flags>, albeit with some variation in semantics."
1894 msgstr ""
1895 "Вызов B<madvise>() не включён ни в один стандарт. Версии этого системного "
1896 "вызова, реализующие широкий набор значений I<advice>, существуют во многих "
1897 "других системах. В них, обычно, реализуются, как минимум, флаги "
1898 "перечисленные в I<Стандартные значения предложений>, хотя и с некоторыми "
1899 "различиями в семантике."
1900
1901 #. type: Plain text
1902 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1903 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1904 msgid ""
1905 "POSIX.1-2001 describes B<posix_madvise>(3) with constants "
1906 "B<POSIX_MADV_NORMAL>, B<POSIX_MADV_RANDOM>, B<POSIX_MADV_SEQUENTIAL>, "
1907 "B<POSIX_MADV_WILLNEED>, and B<POSIX_MADV_DONTNEED>, and so on, with behavior "
1908 "close to the similarly named flags listed above."
1909 msgstr ""
1910 "В POSIX-2001 описана функция B<posix_madvise>(3) с константами "
1911 "B<POSIX_MADV_NORMAL>, B<POSIX_MADV_RANDOM>, B<POSIX_MADV_SEQUENTIAL>, "
1912 "B<POSIX_MADV_WILLNEED> и B<POSIX_MADV_DONTNEED>, и т. п., реализующая "
1913 "поведение близкое к флагам с именами, перечисленным выше."
1914
1915 #. type: SS
1916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1918 #, no-wrap
1919 msgid "Linux"
1920 msgstr "Linux"
1921
1922 #. type: Plain text
1923 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1924 #: opensuse-leap-16-1 opensuse-tumbleweed
1925 #, fuzzy
1926 #| msgid ""
1927 #| "The Linux implementation requires that the address I<addr> be page-"
1928 #| "aligned, and allows I<length> to be zero. If there are some parts of the "
1929 #| "specified address range that are not mapped, the Linux version of "
1930 #| "B<madvise>() ignores them and applies the call to the rest (but returns "
1931 #| "B<ENOMEM> from the system call, as it should)."
1932 msgid ""
1933 "The Linux implementation requires that the address I<addr> be page-aligned, "
1934 "and allows I<size> to be zero. If there are some parts of the specified "
1935 "address range that are not mapped, the Linux version of B<madvise>() "
1936 "ignores them and applies the call to the rest (but returns B<ENOMEM> from "
1937 "the system call, as it should)."
1938 msgstr ""
1939 "Для реализации Linux требуется, чтобы адрес I<addr> был выровнен на границу "
1940 "страницы, а значение I<length> может быть нулевым. Если какие-то части "
1941 "указанного адресного диапазона не отображены, то версия Linux B<madvise>() "
1942 "игнорирует их и вызов применяется к оставшейся области (но возвращается "
1943 "значение B<ENOMEM>, как и должно)."
1944
1945 #. type: Plain text
1946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1948 msgid ""
1949 "I<madvise(0,\\ 0,\\ advice)> will return zero iff I<advice> is supported by "
1950 "the kernel and can be relied on to probe for support."
1951 msgstr ""
1952
1953 #. type: SH
1954 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1955 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1956 #, no-wrap
1957 msgid "STANDARDS"
1958 msgstr "СТАНДАРТЫ"
1959
1960 #. type: Plain text
1961 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1962 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1963 msgid "None."
1964 msgstr "Отсутствуют."
1965
1966 #. type: SH
1967 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1968 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1969 #, no-wrap
1970 msgid "HISTORY"
1971 msgstr "ИСТОРИЯ"
1972
1973 #. type: Plain text
1974 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1975 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1976 msgid "First appeared in 4.4BSD."
1977 msgstr "Впервые появился в 4.4BSD."
1978
1979 #. commit d3ac21cacc24790eb45d735769f35753f5b56ceb
1980 #. type: Plain text
1981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1983 msgid ""
1984 "Since Linux 3.18, support for this system call is optional, depending on the "
1985 "setting of the B<CONFIG_ADVISE_SYSCALLS> configuration option."
1986 msgstr ""
1987 "Начиная с Linux 3.18 поддержка данного системного вызова необязательна, она "
1988 "зависит от того, собрано ли ядро с параметром B<CONFIG_ADVISE_SYSCALLS>."
1989
1990 #. type: SH
1991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1993 #, no-wrap
1994 msgid "SEE ALSO"
1995 msgstr "СМОТРИТЕ ТАКЖЕ"
1996
1997 #. type: Plain text
1998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1999 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2000 msgid ""
2001 "B<getrlimit>(2), B<memfd_secret>(2), B<mincore>(2), B<mmap>(2), "
2002 "B<mprotect>(2), B<msync>(2), B<munmap>(2), B<prctl>(2), "
2003 "B<process_madvise>(2), B<posix_madvise>(3), B<core>(5)"
2004 msgstr ""
2005 "B<getrlimit>(2), B<memfd_secret>(2), B<mincore>(2), B<mmap>(2), "
2006 "B<mprotect>(2), B<msync>(2), B<munmap>(2), B<prctl>(2), "
2007 "B<process_madvise>(2), B<posix_madvise>(3), B<core>(5)"
2008
2009 #. type: TH
2010 #: debian-trixie
2011 #, no-wrap
2012 msgid "2024-05-02"
2013 msgstr "2 мая 2024 г."
2014
2015 #. type: TH
2016 #: debian-trixie
2017 #, no-wrap
2018 msgid "Linux man-pages 6.9.1"
2019 msgstr "Страницы руководства Linux 6.9.1"
2020
2021 #. type: Plain text
2022 #: debian-trixie
2023 msgid "Standard C library (I<libc>, I<-lc>)"
2024 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
2025
2026 #. type: Plain text
2027 #: debian-trixie
2028 #, fuzzy, no-wrap
2029 #| msgid "B<int madvise(void *>I<addr>B<, size_t >I<length>B<, int >I<advice>B<);>\n"
2030 msgid "B<int madvise(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<advice>B<);>\n"
2031 msgstr "B<int madvise(void *>I<addr>B<, size_t >I<length>B<, int >I<advice>B<);>\n"
2032
2033 #. type: Plain text
2034 #: debian-trixie
2035 #, fuzzy
2036 #| msgid ""
2037 #| "The B<madvise>() system call is used to give advice or directions to the "
2038 #| "kernel about the address range beginning at address I<addr> and with size "
2039 #| "I<length> bytes In most cases, the goal of such advice is to improve "
2040 #| "system or application performance."
2041 msgid ""
2042 "The B<madvise>() system call is used to give advice or directions to the "
2043 "kernel about the address range beginning at address I<addr> and with size "
2044 "I<length>. B<madvise>() only operates on whole pages, therefore I<addr> "
2045 "must be page-aligned. The value of I<length> is rounded up to a multiple of "
2046 "page size. In most cases, the goal of such advice is to improve system or "
2047 "application performance."
2048 msgstr ""
2049 "Системный вызов B<madvise>() используется, чтобы дать совет или указать "
2050 "направление ядру о диапазоне адресов, начинающемся с адреса I<addr> и "
2051 "имеющем размер I<length> байт. В большинстве случаев, целью такого совета "
2052 "является повышение производительности системы или приложения."
2053
2054 #
2055 #. ======================================================================
2056 #. type: Plain text
2057 #: debian-trixie
2058 msgid ""
2059 "Support for Huge TLB pages was added in Linux v5.18. Addresses within a "
2060 "mapping backed by Huge TLB pages must be aligned to the underlying Huge TLB "
2061 "page size, and the range length is rounded up to a multiple of the "
2062 "underlying Huge TLB page size."
2063 msgstr ""
2064
2065 #. type: Plain text
2066 #: debian-trixie fedora-44 fedora-rawhide
2067 #, fuzzy
2068 #| msgid "The B<membarrier>() system call was added in Linux 4.3."
2069 msgid "Support for the Huge TLB filesystem was added in Linux v4.3."
2070 msgstr "Системный вызов B<membarrier>() впервые появился в Linux версии 4.3."
2071
2072 #. commit 9893e49d64a4874ea67849ee2cfbf3f3d6817573
2073 #. type: Plain text
2074 #: debian-trixie
2075 msgid ""
2076 "Poison the pages in the range specified by I<addr> and I<length> and handle "
2077 "subsequent references to those pages like a hardware memory corruption. "
2078 "This operation is available only for privileged (B<CAP_SYS_ADMIN>) "
2079 "processes. This operation may result in the calling process receiving a "
2080 "B<SIGBUS> and the page being unmapped."
2081 msgstr ""
2082 "Испортить страницы в диапазоне, заданном I<addr> и I<length>, и обрабатывать "
2083 "последующие ссылки на эти страницы как при аппаратном повреждении памяти. "
2084 "Данная операция доступна только для привилегированных (B<CAP_SYS_ADMIN>) "
2085 "процессов. Она может привести к тому, что вызывающий процесс получит "
2086 "B<SIGBUS> и отображение страницы удалится."
2087
2088 #. commit f8af4da3b4c14e7267c4ffb952079af3912c51c5
2089 #. type: Plain text
2090 #: debian-trixie
2091 msgid ""
2092 "Enable Kernel Samepage Merging (KSM) for the pages in the range specified by "
2093 "I<addr> and I<length>. The kernel regularly scans those areas of user "
2094 "memory that have been marked as mergeable, looking for pages with identical "
2095 "content. These are replaced by a single write-protected page (which is "
2096 "automatically copied if a process later wants to update the content of the "
2097 "page). KSM merges only private anonymous pages (see B<mmap>(2))."
2098 msgstr ""
2099 "Включает слияние одинаковых страниц ядра (Kernel Samepage Merging, KSM) для "
2100 "страниц в диапазоне, указанном I<addr> и I<length>. Ядро периодически "
2101 "сканирует области пользовательской памяти, которые были помечены для "
2102 "слияния, разыскивая станицы с одинаковым содержимым. Такие страницы "
2103 "заменяются единственной страницей, защищённой от записи (которая "
2104 "автоматически копируется, если позднее процесс захочет изменить содержимое "
2105 "страницы). При KSM слияние выполняется только для частных анонимных страниц "
2106 "(смотрите B<mmap>(2))."
2107
2108 #. type: Plain text
2109 #: debian-trixie
2110 msgid ""
2111 "Undo the effect of an earlier B<MADV_MERGEABLE> operation on the specified "
2112 "address range; KSM unmerges whatever pages it had merged in the address "
2113 "range specified by I<addr> and I<length>."
2114 msgstr ""
2115 "Отменить действие ранее применённой операции B<MADV_MERGEABLE> для "
2116 "указанного диапазона; KSM разделяет ранее объединённые страницы в диапазоне, "
2117 "заданном I<addr> и I<length>."
2118
2119 #. commit afcf938ee0aac4ef95b1a23bac704c6fbeb26de6
2120 #. type: Plain text
2121 #: debian-trixie
2122 msgid ""
2123 "Soft offline the pages in the range specified by I<addr> and I<length>. The "
2124 "memory of each page in the specified range is preserved (i.e., when next "
2125 "accessed, the same content will be visible, but in a new physical page "
2126 "frame), and the original page is offlined (i.e., no longer used, and taken "
2127 "out of normal memory management). The effect of the B<MADV_SOFT_OFFLINE> "
2128 "operation is invisible to (i.e., does not change the semantics of) the "
2129 "calling process."
2130 msgstr ""
2131 "Программно отключить страницы в диапазоне, указанном I<addr> и I<length>. "
2132 "Память каждой страницы в указанном диапазоне сохраняется (т. е., при "
2133 "следующем доступе будет выдано то же содержимое, но в новых физических "
2134 "границах страницы) и первоначальная страница отключается (т. е., больше не "
2135 "используется и не участвует при обычном управлении памятью). Эффект операции "
2136 "B<MADV_SOFT_OFFLINE> обычно незаметен (т. е., не изменяет семантику) для "
2137 "вызывающего процесса."
2138
2139 #. commit 0af4e98b6b095c74588af04872f83d333c958c32
2140 #. http://lwn.net/Articles/358904/
2141 #. https://lwn.net/Articles/423584/
2142 #. type: Plain text
2143 #: debian-trixie
2144 #, fuzzy
2145 #| msgid ""
2146 #| "Enable Transparent Huge Pages (THP) for pages in the range specified by "
2147 #| "I<addr> and I<length>. Currently, Transparent Huge Pages work only with "
2148 #| "private anonymous pages (see B<mmap>(2)). The kernel will regularly scan "
2149 #| "the areas marked as huge page candidates to replace them with huge "
2150 #| "pages. The kernel will also allocate huge pages directly when the region "
2151 #| "is naturally aligned to the huge page size (see B<posix_memalign>(2))."
2152 msgid ""
2153 "Enable Transparent Huge Pages (THP) for pages in the range specified by "
2154 "I<addr> and I<length>. The kernel will regularly scan the areas marked as "
2155 "huge page candidates to replace them with huge pages. The kernel will also "
2156 "allocate huge pages directly when the region is naturally aligned to the "
2157 "huge page size (see B<posix_memalign>(2))."
2158 msgstr ""
2159 "Включает прозрачность огромных страниц (Transparent Huge Pages, THP) для "
2160 "страниц в диапазоне, указанном I<addr> и I<length>. В настоящий момент, THP "
2161 "работает только для закрытых (private) анонимных страниц (смотрите "
2162 "B<mmap>(2)). Ядро будет периодически сканировать области, помеченные как "
2163 "кандидаты в огромные страницы, для замены их огромными страницами. Ядро "
2164 "также будет непосредственно выделять огромные страницы, если область "
2165 "выравнена на аппаратный (naturally) размер огромной страницы при создании "
2166 "(смотрите B<posix_memalign>(2))."
2167
2168 #. type: Plain text
2169 #: debian-trixie fedora-44 fedora-rawhide
2170 msgid ""
2171 "The VMA must not be marked B<VM_NOHUGEPAGE>, B<VM_HUGETLB>, B<VM_IO>, "
2172 "B<VM_DONTEXPAND>, B<VM_MIXEDMAP>, or B<VM_PFNMAP>, nor can it be stack "
2173 "memory or backed by a DAX-enabled device (unless the DAX device is hot-"
2174 "plugged as System RAM). The process must also not have "
2175 "B<PR_SET_THP_DISABLE> set (see B<prctl>(2))."
2176 msgstr ""
2177
2178 #. type: Plain text
2179 #: debian-trixie
2180 #, fuzzy
2181 #| msgid ""
2182 #| "Ensures that memory in the address range specified by I<addr> and "
2183 #| "I<length> will not be collapsed into huge pages."
2184 msgid ""
2185 "Ensures that memory in the address range specified by I<addr> and I<length> "
2186 "will not be backed by transparent hugepages."
2187 msgstr ""
2188 "Проверить, что память адресного пространства, указанного в I<addr> и "
2189 "I<length>, не будет свёрнута в огромные страницы."
2190
2191 #. commit 909af768e88867016f427264ae39d27a57b6a8ed
2192 #. commit accb61fe7bb0f5c2a4102239e4981650f9048519
2193 #. type: Plain text
2194 #: debian-trixie
2195 #, fuzzy
2196 #| msgid ""
2197 #| "Exclude from a core dump those pages in the range specified by I<addr> "
2198 #| "and I<length>. This is useful in applications that have large areas of "
2199 #| "memory that are known not to be useful in a core dump. The effect of "
2200 #| "B<MADV_DONTDUMP> takes precedence over the bit mask that is set via the "
2201 #| "I</proc/[pid]/coredump_filter> file (see B<core>(5))."
2202 msgid ""
2203 "Exclude from a core dump those pages in the range specified by I<addr> and "
2204 "I<length>. This is useful in applications that have large areas of memory "
2205 "that are known not to be useful in a core dump. The effect of "
2206 "B<MADV_DONTDUMP> takes precedence over the bit mask that is set via the I</"
2207 "proc/>pidI</coredump_filter> file (see B<core>(5))."
2208 msgstr ""
2209 "Исключить из дампа памяти страницы диапазона, задаваемого значениями I<addr> "
2210 "и I<length>. Это полезно в приложениях, которые занимают большие области в "
2211 "памяти, про которые известно, что они ничем не помогут будучи в дампе "
2212 "памяти. Действие B<MADV_DONTDUMP> имеет преимущество над битовой маской, "
2213 "которая устанавливается в файле I</proc/[pid]/coredump_filter> (смотрите "
2214 "B<core>(5))."
2215
2216 #. type: Plain text
2217 #: debian-trixie
2218 msgid ""
2219 "The application no longer requires the pages in the range specified by "
2220 "I<addr> and I<len>. The kernel can thus free these pages, but the freeing "
2221 "could be delayed until memory pressure occurs. For each of the pages that "
2222 "has been marked to be freed but has not yet been freed, the free operation "
2223 "will be canceled if the caller writes into the page. After a successful "
2224 "B<MADV_FREE> operation, any stale data (i.e., dirty, unwritten pages) will "
2225 "be lost when the kernel frees the pages. However, subsequent writes to "
2226 "pages in the range will succeed and then kernel cannot free those dirtied "
2227 "pages, so that the caller can always see just written data. If there is no "
2228 "subsequent write, the kernel can free the pages at any time. Once pages in "
2229 "the range have been freed, the caller will see zero-fill-on-demand pages "
2230 "upon subsequent page references."
2231 msgstr ""
2232 "Приложению больше не требуются страницы в диапазоне, задаваемом I<addr> и "
2233 "I<len>, поэтому ядро может освободить эти страницы, но освобождение может "
2234 "быть отложено до тех пор, пока не понадобится память. Для каждой страницы, "
2235 "помеченной как свободная, но ещё не освобождённая, операция освобождения "
2236 "будет отменена, если вызывающий выполнит запись в эту страницу. После "
2237 "успешного выполнения операции B<MADV_FREE> все повисшие данные (т. е., "
2238 "изменённые (dirty) и не записанные страницы) будут потеряны в момент "
2239 "освобождения страниц ядром. Однако последующая запись в страницы в этом "
2240 "диапазоне будет успешной и поэтому ядро не сможет освободить эти изменённые "
2241 "страницы и вызывающий всегда может видеть только что записанные данные. Если "
2242 "последующей записи не было, то ядро может освободить страницы в любой "
2243 "момент. После освобождения страниц диапазона при последующем доступе "
2244 "вызывающий может видеть страницы заполненные нулями по требованию."
2245
2246 #. .I length
2247 #. is zero,
2248 #. type: Plain text
2249 #: debian-trixie
2250 msgid "I<addr> is not page-aligned or I<length> is negative."
2251 msgstr ""
2252 "Значение параметра I<addr> не выровнено по границе страницы или параметр "
2253 "I<length> содержит отрицательное число."
2254
2255 #. type: Plain text
2256 #: debian-trixie
2257 msgid ""
2258 "The Linux implementation requires that the address I<addr> be page-aligned, "
2259 "and allows I<length> to be zero. If there are some parts of the specified "
2260 "address range that are not mapped, the Linux version of B<madvise>() "
2261 "ignores them and applies the call to the rest (but returns B<ENOMEM> from "
2262 "the system call, as it should)."
2263 msgstr ""
2264 "Для реализации Linux требуется, чтобы адрес I<addr> был выровнен на границу "
2265 "страницы, а значение I<length> может быть нулевым. Если какие-то части "
2266 "указанного адресного диапазона не отображены, то версия Linux B<madvise>() "
2267 "игнорирует их и вызов применяется к оставшейся области (но возвращается "
2268 "значение B<ENOMEM>, как и должно)."
2269
2270 #. type: TH
2271 #: fedora-44 fedora-rawhide
2272 #, no-wrap
2273 msgid "2024-12-23"
2274 msgstr "23 декабря 2024 г."
2275
2276 #. type: TH
2277 #: fedora-44 fedora-rawhide
2278 #, no-wrap
2279 msgid "Linux man-pages 6.13"
2280 msgstr "Страницы руководства Linux 6.13"
2281
2282 #. type: Plain text
2283 #: fedora-44 fedora-rawhide
2284 #, fuzzy, no-wrap
2285 #| msgid "B<int madvise(void *>I<addr>B<, size_t >I<length>B<, int >I<advice>B<);>\n"
2286 msgid "B<int madvise(void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, int >I<advice>B<);>\n"
2287 msgstr "B<int madvise(void *>I<addr>B<, size_t >I<length>B<, int >I<advice>B<);>\n"
2288
2289 #
2290 #. ======================================================================
2291 #. type: Plain text
2292 #: fedora-44 fedora-rawhide
2293 msgid ""
2294 "Support for Huge TLB pages was added in Linux v5.18. Addresses within a "
2295 "mapping backed by Huge TLB pages must be aligned to the underlying Huge TLB "
2296 "page size, and the range size is rounded up to a multiple of the underlying "
2297 "Huge TLB page size."
2298 msgstr ""
2299
2300 #. type: Plain text
2301 #: fedora-44 fedora-rawhide
2302 msgid ""
2303 "This operation is supported only for writable anonymous private mappings "
2304 "which have not been mlock'd. An B<EINVAL> error is returned if it is "
2305 "attempted on any other kind of mapping."
2306 msgstr ""
2307
2308 #. type: Plain text
2309 #: fedora-44 fedora-rawhide
2310 msgid ""
2311 "All mappings in the range other than lightweight guard regions are left in "
2312 "place (including mlock'd mappings). The operation is, however, valid only "
2313 "for writable anonymous private mappings, returning an B<EINVAL> error "
2314 "otherwise."
2315 msgstr ""
2316
2317 #. type: Plain text
2318 #: fedora-44 fedora-rawhide
2319 msgid ""
2320 "When lightweight guard regions are removed, they act as empty regions of the "
2321 "containing mapping. Since only writable anonymous private mappings are "
2322 "supported, they therefore become zero-fill-on-demand pages."
2323 msgstr ""
2324
2325 #. type: TH
2326 #: mageia-cauldron
2327 #, no-wrap
2328 msgid "Linux man-pages 6.17"
2329 msgstr "Страницы руководства Linux 6.17"
2330
2331 #. type: TH
2332 #: opensuse-leap-16-1 opensuse-tumbleweed
2333 #, no-wrap
2334 msgid "Linux man-pages (unreleased)"
2335 msgstr "Страницы руководства Linux (не выпущены)"