1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
|
# Russian translation of manpages
# This file is distributed under the same license as the manpages-l10n package.
# Copyright © of this file:
# aereiae <aereiae@gmail.com>, 2014.
# Alexey <a.chepugov@gmail.com>, 2015.
# Azamat Hackimov <azamat.hackimov@gmail.com>, 2013-2017.
# Dmitriy S. Seregin <dseregin@59.ru>, 2013.
# Dmitry Bolkhovskikh <d20052005@yandex.ru>, 2017.
# ITriskTI <ITriskTI@gmail.com>, 2013.
# Max Is <ismax799@gmail.com>, 2016.
# Yuri Kozlov <yuray@komyakino.ru>, 2011-2019.
# Иван Павлов <pavia00@gmail.com>, 2017.
# Малянов Евгений Викторович <maljanow@outlook.com>, 2014.
msgid ""
msgstr ""
"Project-Id-Version: manpages-l10n\n"
"POT-Creation-Date: 2024-06-01 06:01+0200\n"
"PO-Revision-Date: 2019-10-06 08:59+0300\n"
"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
"Language-Team: Russian <man-pages-ru-talks@lists.sourceforge.net>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
"%100>=11 && n%100<=14)? 2 : 3);\n"
"X-Generator: Lokalize 2.0\n"
#. type: TH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "madvise"
msgstr "madvise"
#. type: TH
#: archlinux debian-unstable opensuse-tumbleweed
#, no-wrap
msgid "2024-05-02"
msgstr "2 мая 2024 г."
#. type: TH
#: archlinux debian-unstable
#, fuzzy, no-wrap
#| msgid "Linux man-pages 6.7"
msgid "Linux man-pages 6.8"
msgstr "Linux man-pages 6.7"
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "NAME"
msgstr "ИМЯ"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "madvise - give advice about use of memory"
msgstr "madvise - отсылает предложения по использованию памяти"
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "LIBRARY"
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "Standard C library (I<libc>, I<-lc>)"
msgstr ""
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "SYNOPSIS"
msgstr "СИНТАКСИС"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<#include E<lt>sys/mman.hE<gt>>\n"
msgstr "B<#include E<lt>sys/mman.hE<gt>>\n"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "B<int madvise(void *>I<addr>B<, size_t >I<length>B<, int >I<advice>B<);>\n"
msgid "B<int madvise(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<advice>B<);>\n"
msgstr "B<int madvise(void *>I<addr>B<, size_t >I<length>B<, int >I<advice>B<);>\n"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
msgstr ""
"Требования макроса тестирования свойств для glibc (см. "
"B<feature_test_macros>(7)):"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "B<madvise>():"
msgstr "B<madvise>():"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid ""
#| " Since glibc 2.19:\n"
#| " _DEFAULT_SOURCE\n"
#| " In glibc up to and including 2.19:\n"
#| " _BSD_SOURCE\n"
msgid ""
" Since glibc 2.19:\n"
" _DEFAULT_SOURCE\n"
" Up to and including glibc 2.19:\n"
" _BSD_SOURCE\n"
msgstr ""
" начиная с glibc 2.19:\n"
" _DEFAULT_SOURCE\n"
" в glibc до версии 2.19 включительно:\n"
" _BSD_SOURCE\n"
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "DESCRIPTION"
msgstr "ОПИСАНИЕ"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The B<madvise>() system call is used to give advice or directions to the "
#| "kernel about the address range beginning at address I<addr> and with size "
#| "I<length> bytes In most cases, the goal of such advice is to improve "
#| "system or application performance."
msgid ""
"The B<madvise>() system call is used to give advice or directions to the "
"kernel about the address range beginning at address I<addr> and with size "
"I<length>. B<madvise>() only operates on whole pages, therefore I<addr> "
"must be page-aligned. The value of I<length> is rounded up to a multiple of "
"page size. In most cases, the goal of such advice is to improve system or "
"application performance."
msgstr ""
"Системный вызов B<madvise>() используется, чтобы дать совет или указать "
"направление ядру о диапазоне адресов, начинающемся с адреса I<addr> и "
"имеющем размер I<length> байт. В большинстве случаев, целью такого совета "
"является повышение производительности системы или приложения."
#. ======================================================================
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Initially, the system call supported a set of \"conventional\" I<advice> "
"values, which are also available on several other implementations. (Note, "
"though, that B<madvise>() is not specified in POSIX.) Subsequently, a "
"number of Linux-specific I<advice> values have been added."
msgstr ""
"Первоначально, системный вызов поддерживал набор «стандартных» значений "
"I<advice>, которые также доступны и в некоторых других реализациях (однако "
"отметим, что B<madvise>() отсутствует в POSIX). В последствии было добавлено "
"несколько значений I<advice>, имеющихся только в Linux."
#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Conventional advice values"
msgstr "Стандартные значения предложений"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The I<advice> values listed below allow an application to tell the kernel "
"how it expects to use some mapped or shared memory areas, so that the kernel "
"can choose appropriate read-ahead and caching techniques. These I<advice> "
"values do not influence the semantics of the application (except in the case "
"of B<MADV_DONTNEED>), but may influence its performance. All of the "
"I<advice> values listed here have analogs in the POSIX-specified "
"B<posix_madvise>(3) function, and the values have the same meanings, with "
"the exception of B<MADV_DONTNEED>."
msgstr ""
"Значения I<advice>, перечисленные далее, позволяют приложению указать ядру "
"как оно будет использовать некоторые отображённые или общие области памяти, "
"чтобы ядро могло выбрать подходящие методы упреждающего чтения и "
"кэширования. Эти значения I<advice> не влияют на семантику приложения (за "
"исключением B<MADV_DONTNEED>), но могут повлиять на его производительность. "
"Все перечисленные здесь значения I<advice> имеют аналоги в определённой "
"POSIX функции B<posix_madvise>(3) и имеют тот же смысл, за исключением "
"B<MADV_DONTNEED>."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The advice is indicated in the I<advice> argument, which is one of the "
"following:"
msgstr "В I<advice> помещается нужное предложения, одно из:"
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_NORMAL>"
msgstr "B<MADV_NORMAL>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "No special treatment. This is the default."
msgstr "Нет никаких специальных указаний. Используется по умолчанию."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_RANDOM>"
msgstr "B<MADV_RANDOM>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Expect page references in random order. (Hence, read ahead may be less "
"useful than normally.)"
msgstr ""
"Ожидать обращение к страницам в случайном порядке (здесь упреждающее чтение "
"может быть менее эффективным)."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_SEQUENTIAL>"
msgstr "B<MADV_SEQUENTIAL>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Expect page references in sequential order. (Hence, pages in the given "
"range can be aggressively read ahead, and may be freed soon after they are "
"accessed.)"
msgstr ""
"Ожидать последовательного обращения к страницам (здесь к страницам в "
"заданном диапазоне можно применить агрессивное упреждающее чтение и быстро "
"высвободить их сразу после доступа)."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_WILLNEED>"
msgstr "B<MADV_WILLNEED>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Expect access in the near future. (Hence, it might be a good idea to read "
"some pages ahead.)"
msgstr ""
"Ожидать доступа в ближайшем будущем (здесь можно применить упреждающее "
"чтение нескольких страниц)."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_DONTNEED>"
msgstr "B<MADV_DONTNEED>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Do not expect access in the near future. (For the time being, the "
"application is finished with the given range, so the kernel can free "
"resources associated with it.)"
msgstr ""
"В ближайшем будущем не ожидается доступ (в настоящее время приложение "
"закончило работу с данным диапазоном, поэтому ядро может освободить ресурсы, "
"связанные с приложением)."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"After a successful B<MADV_DONTNEED> operation, the semantics of memory "
"access in the specified region are changed: subsequent accesses of pages in "
"the range will succeed, but will result in either repopulating the memory "
"contents from the up-to-date contents of the underlying mapped file (for "
"shared file mappings, shared anonymous mappings, and shmem-based techniques "
"such as System V shared memory segments) or zero-fill-on-demand pages for "
"anonymous private mappings."
msgstr ""
"После успешного выполнения операции B<MADV_DONTNEED> семантика доступа к "
"памяти в заданной области изменяется: последующий доступ к страницам в "
"области будет успешным, но будет приводить к или повторному заполнению "
"памяти актуальным содержимым из нижележащего отображённого файла (для общих "
"отображений файла, общих анонимных отображений и методов на основе shmem, "
"таких как сегментов общей памяти System V) или к заполнению нулями страниц "
"по требованию у частных анонимных отображений."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Note that, when applied to shared mappings, B<MADV_DONTNEED> might not lead "
"to immediate freeing of the pages in the range. The kernel is free to delay "
"freeing the pages until an appropriate moment. The resident set size (RSS) "
"of the calling process will be immediately reduced however."
msgstr ""
"Заметим, что при применении к общим отображениям операция B<MADV_DONTNEED> "
"может не приводить к немедленному освобождению страниц области. Ядро может "
"задержать освобождение до подходящего момента. Однако размер постоянно "
"занимаемой памяти (RSS) вызывающего процесса будет сокращён сразу же."
#. http://lwn.net/Articles/162860/
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "B<MADV_DONTNEED> cannot be applied to locked pages, Huge TLB pages, or "
#| "B<VM_PFNMAP> pages. (Pages marked with the kernel-internal B<VM_PFNMAP> "
#| "flag are special memory areas that are not managed by the virtual memory "
#| "subsystem. Such pages are typically created by device drivers that map "
#| "the pages into user space.)"
msgid ""
"B<MADV_DONTNEED> cannot be applied to locked pages, or B<VM_PFNMAP> pages. "
"(Pages marked with the kernel-internal B<VM_PFNMAP> flag are special memory "
"areas that are not managed by the virtual memory subsystem. Such pages are "
"typically created by device drivers that map the pages into user space.)"
msgstr ""
"Операция B<MADV_DONTNEED> не может применяться к заблокированным страницам, "
"страницам Huge TLB или страницам B<VM_PFNMAP> (страницы, помеченные "
"внутренним флагом ядра B<VM_PFNMAP> представляют собой специальные области "
"памяти, которые не управляются из подсистемы виртуальной памяти; обычно, эти "
"страницы создаются драйверами устройств, которые отображают страницы в "
"пользовательское пространство)."
#
#. ======================================================================
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Support for Huge TLB pages was added in Linux v5.18. Addresses within a "
"mapping backed by Huge TLB pages must be aligned to the underlying Huge TLB "
"page size, and the range length is rounded up to a multiple of the "
"underlying Huge TLB page size."
msgstr ""
#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Linux-specific advice values"
msgstr "Значения предложений, имеющиеся только в Linux"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The following Linux-specific I<advice> values have no counterparts in the "
"POSIX-specified B<posix_madvise>(3), and may or may not have counterparts in "
"the B<madvise>() interface available on other implementations. Note that "
"some of these operations change the semantics of memory accesses."
msgstr ""
"Следующие значения I<advice> имеются только в Linux и не имеют аналога в "
"определённой POSIX функции B<posix_madvise>(3), а также могут не иметь "
"аналога и в других реализациях интерфейса B<madvise>(). Заметим, что "
"некоторые из этих операций изменяют семантику доступа к памяти."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_REMOVE> (since Linux 2.6.16)"
msgstr "B<MADV_REMOVE> (начиная с Linux 2.6.16)"
#. commit f6b3ec238d12c8cc6cc71490c6e3127988460349
#. Databases want to use this feature to drop a section of their
#. bufferpool (shared memory segments) - without writing back to
#. disk/swap space. This feature is also useful for supporting
#. hot-plug memory on UML.
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "Free up a given range of pages and its associated backing store. This is "
#| "equivalent to punching a hole in the corresponding byte range of the "
#| "backing store (see B<fallocate>(2)). Subsequent accesses in the "
#| "specified address range will see bytes containing zero."
msgid ""
"Free up a given range of pages and its associated backing store. This is "
"equivalent to punching a hole in the corresponding range of the backing "
"store (see B<fallocate>(2)). Subsequent accesses in the specified address "
"range will see data with a value of zero."
msgstr ""
"Освободить указанный диапазон страниц и связанные с ним хранилища. "
"Эквивалентен пробивке отверстия в соответствующем диапазоне байт хранилища "
"(смотрите B<fallocate>(2)). Последующий доступ к указанному адресному "
"диапазону будет возвращать байты с нулями."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The specified address range must be mapped shared and writable. This "
#| "flag cannot be applied to locked pages, Huge TLB pages, or B<VM_PFNMAP> "
#| "pages."
msgid ""
"The specified address range must be mapped shared and writable. This flag "
"cannot be applied to locked pages, or B<VM_PFNMAP> pages."
msgstr ""
"Указываемый адресный диапазон должен быть общим и доступным на запись "
"отображением. Этот флаг не может применять к заблокированным страницам, "
"страницам Huge TLB или страницам B<VM_PFNMAP>."
#. commit 3f31d07571eeea18a7d34db9af21d2285b807a17
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "In the initial implementation, only B<tmpfs>(5) was supported "
#| "B<MADV_REMOVE>; but since Linux 3.5, any filesystem which supports the "
#| "B<fallocate>(2) B<FALLOC_FL_PUNCH_HOLE> mode also supports "
#| "B<MADV_REMOVE>. Hugetlbfs fails with the error B<EINVAL> and other "
#| "filesystems fail with the error B<EOPNOTSUPP>."
msgid ""
"In the initial implementation, only B<tmpfs>(5) supported B<MADV_REMOVE>; "
"but since Linux 3.5, any filesystem which supports the B<fallocate>(2) "
"B<FALLOC_FL_PUNCH_HOLE> mode also supports B<MADV_REMOVE>. Filesystems "
"which do not support B<MADV_REMOVE> fail with the error B<EOPNOTSUPP>."
msgstr ""
"В первоначальной реализации B<MADV_REMOVE> поддерживался только в "
"B<tmpfs>(5), но начиная с Linux 3.5 все файловые системы, поддерживающие "
"B<fallocate>(2) с режимом B<FALLOC_FL_PUNCH_HOLE>, также поддерживают "
"B<MADV_REMOVE>. Hugetlbfs возвращает ошибку B<EINVAL>, а другие файловые "
"системы возвращают ошибку B<EOPNOTSUPP>."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid "The B<membarrier>() system call was added in Linux 4.3."
msgid "Support for the Huge TLB filesystem was added in Linux v4.3."
msgstr "Системный вызов B<membarrier>() впервые появился в Linux версии 4.3."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_DONTFORK> (since Linux 2.6.16)"
msgstr "B<MADV_DONTFORK> (начиная с Linux 2.6.16)"
#. commit f822566165dd46ff5de9bf895cfa6c51f53bb0c4
#. See http://lwn.net/Articles/171941/
#. [PATCH] madvise MADV_DONTFORK/MADV_DOFORK
#. Currently, copy-on-write may change the physical address of
#. a page even if the user requested that the page is pinned in
#. memory (either by mlock or by get_user_pages). This happens
#. if the process forks meanwhile, and the parent writes to that
#. page. As a result, the page is orphaned: in case of
#. get_user_pages, the application will never see any data hardware
#. DMA's into this page after the COW. In case of mlock'd memory,
#. the parent is not getting the realtime/security benefits of mlock.
#. In particular, this affects the Infiniband modules which do DMA from
#. and into user pages all the time.
#. This patch adds madvise options to control whether memory range is
#. inherited across fork. Useful e.g. for when hardware is doing DMA
#. from/into these pages. Could also be useful to an application
#. wanting to speed up its forks by cutting large areas out of
#. consideration.
#. SEE ALSO: http://lwn.net/Articles/171941/
#. "Tweaks to madvise() and posix_fadvise()", 14 Feb 2006
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Do not make the pages in this range available to the child after a "
"B<fork>(2). This is useful to prevent copy-on-write semantics from changing "
"the physical location of a page if the parent writes to it after a "
"B<fork>(2). (Such page relocations cause problems for hardware that DMAs "
"into the page.)"
msgstr ""
"Сделать недоступными страницы в указанном диапазоне для потомка после "
"B<fork>(2). Это полезно для предотвращения изменения физического "
"расположения страницы копирования-при-записи, если родитель будет изменять "
"её после B<fork>(2) (перемещение таких страниц вызывает проблемы для "
"оборудования, обращающегося к страницам через DMA)."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_DOFORK> (since Linux 2.6.16)"
msgstr "B<MADV_DOFORK> (начиная с Linux 2.6.16)"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Undo the effect of B<MADV_DONTFORK>, restoring the default behavior, whereby "
"a mapping is inherited across B<fork>(2)."
msgstr ""
"Отменить действие B<MADV_DONTFORK>, восстановить поведение по умолчанию, в "
"силу чего происходит наследование отображения после B<fork>(2)."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_HWPOISON> (since Linux 2.6.32)"
msgstr "B<MADV_HWPOISON> (начиная с Linux 2.6.32)"
#. commit 9893e49d64a4874ea67849ee2cfbf3f3d6817573
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Poison the pages in the range specified by I<addr> and I<length> and handle "
"subsequent references to those pages like a hardware memory corruption. "
"This operation is available only for privileged (B<CAP_SYS_ADMIN>) "
"processes. This operation may result in the calling process receiving a "
"B<SIGBUS> and the page being unmapped."
msgstr ""
"Испортить страницы в диапазоне, заданном I<addr> и I<length>, и обрабатывать "
"последующие ссылки на эти страницы как при аппаратном повреждении памяти. "
"Данная операция доступна только для привилегированных (B<CAP_SYS_ADMIN>) "
"процессов. Она может привести к тому, что вызывающий процесс получит "
"B<SIGBUS> и отображение страницы удалится."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This feature is intended for testing of memory error-handling code; it is "
"available only if the kernel was configured with B<CONFIG_MEMORY_FAILURE>."
msgstr ""
"Это свойство предназначено для тестирования кода обработки ошибок памяти; "
"оно доступно только, если ядро было собрано с параметром "
"B<CONFIG_MEMORY_FAILURE>."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_MERGEABLE> (since Linux 2.6.32)"
msgstr "B<MADV_MERGEABLE> (начиная с Linux 2.6.32)"
#. commit f8af4da3b4c14e7267c4ffb952079af3912c51c5
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Enable Kernel Samepage Merging (KSM) for the pages in the range specified by "
"I<addr> and I<length>. The kernel regularly scans those areas of user "
"memory that have been marked as mergeable, looking for pages with identical "
"content. These are replaced by a single write-protected page (which is "
"automatically copied if a process later wants to update the content of the "
"page). KSM merges only private anonymous pages (see B<mmap>(2))."
msgstr ""
"Включает слияние одинаковых страниц ядра (Kernel Samepage Merging, KSM) для "
"страниц в диапазоне, указанном I<addr> и I<length>. Ядро периодически "
"сканирует области пользовательской памяти, которые были помечены для "
"слияния, разыскивая станицы с одинаковым содержимым. Такие страницы "
"заменяются единственной страницей, защищённой от записи (которая "
"автоматически копируется, если позднее процесс захочет изменить содержимое "
"страницы). При KSM слияние выполняется только для частных анонимных страниц "
"(смотрите B<mmap>(2))."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The KSM feature is intended for applications that generate many instances of "
"the same data (e.g., virtualization systems such as KVM). It can consume a "
"lot of processing power; use with care. See the Linux kernel source file "
"I<Documentation/admin-guide/mm/ksm.rst> for more details."
msgstr ""
"Возможность KSM предназначена для приложений, которые генерируют много "
"экземпляров одинаковых данных (например, для систем виртуализации, таких как "
"KVM). Эта возможность может нагрузить процессор; используйте осторожно. "
"Дополнительную информацию можно найти в файле исходного кода ядра "
"I<Documentation/admin-guide/mm/ksm.rst>."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The B<MADV_MERGEABLE> and B<MADV_UNMERGEABLE> operations are available only "
"if the kernel was configured with B<CONFIG_KSM>."
msgstr ""
"Операции B<MADV_MERGEABLE> и B<MADV_UNMERGEABLE> доступны только, если ядро "
"собрано с параметром B<CONFIG_KSM>."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_UNMERGEABLE> (since Linux 2.6.32)"
msgstr "B<MADV_UNMERGEABLE> (начиная с Linux 2.6.32)"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Undo the effect of an earlier B<MADV_MERGEABLE> operation on the specified "
"address range; KSM unmerges whatever pages it had merged in the address "
"range specified by I<addr> and I<length>."
msgstr ""
"Отменить действие ранее применённой операции B<MADV_MERGEABLE> для "
"указанного диапазона; KSM разделяет ранее объединённые страницы в диапазоне, "
"заданном I<addr> и I<length>."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_SOFT_OFFLINE> (since Linux 2.6.33)"
msgstr "B<MADV_SOFT_OFFLINE> (начиная с Linux 2.6.33)"
#. commit afcf938ee0aac4ef95b1a23bac704c6fbeb26de6
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Soft offline the pages in the range specified by I<addr> and I<length>. The "
"memory of each page in the specified range is preserved (i.e., when next "
"accessed, the same content will be visible, but in a new physical page "
"frame), and the original page is offlined (i.e., no longer used, and taken "
"out of normal memory management). The effect of the B<MADV_SOFT_OFFLINE> "
"operation is invisible to (i.e., does not change the semantics of) the "
"calling process."
msgstr ""
"Программно отключить страницы в диапазоне, указанном I<addr> и I<length>. "
"Память каждой страницы в указанном диапазоне сохраняется (т. е., при "
"следующем доступе будет выдано то же содержимое, но в новых физических "
"границах страницы) и первоначальная страница отключается (т. е., больше не "
"используется и не участвует при обычном управлении памятью). Эффект операции "
"B<MADV_SOFT_OFFLINE> обычно незаметен (т. е., не изменяет семантику) для "
"вызывающего процесса."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_HUGEPAGE> (since Linux 2.6.38)"
msgstr "B<MADV_HUGEPAGE> (начиная с Linux 2.6.38)"
#. commit 0af4e98b6b095c74588af04872f83d333c958c32
#. http://lwn.net/Articles/358904/
#. https://lwn.net/Articles/423584/
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "Enable Transparent Huge Pages (THP) for pages in the range specified by "
#| "I<addr> and I<length>. Currently, Transparent Huge Pages work only with "
#| "private anonymous pages (see B<mmap>(2)). The kernel will regularly scan "
#| "the areas marked as huge page candidates to replace them with huge "
#| "pages. The kernel will also allocate huge pages directly when the region "
#| "is naturally aligned to the huge page size (see B<posix_memalign>(2))."
msgid ""
"Enable Transparent Huge Pages (THP) for pages in the range specified by "
"I<addr> and I<length>. The kernel will regularly scan the areas marked as "
"huge page candidates to replace them with huge pages. The kernel will also "
"allocate huge pages directly when the region is naturally aligned to the "
"huge page size (see B<posix_memalign>(2))."
msgstr ""
"Включает прозрачность огромных страниц (Transparent Huge Pages, THP) для "
"страниц в диапазоне, указанном I<addr> и I<length>. В настоящий момент, THP "
"работает только для закрытых (private) анонимных страниц (смотрите "
"B<mmap>(2)). Ядро будет периодически сканировать области, помеченные как "
"кандидаты в огромные страницы, для замены их огромными страницами. Ядро "
"также будет непосредственно выделять огромные страницы, если область "
"выравнена на аппаратный (naturally) размер огромной страницы при создании "
"(смотрите B<posix_memalign>(2))."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This feature is primarily aimed at applications that use large mappings of "
"data and access large regions of that memory at a time (e.g., virtualization "
"systems such as QEMU). It can very easily waste memory (e.g., a 2\\ MB "
"mapping that only ever accesses 1 byte will result in 2\\ MB of wired memory "
"instead of one 4\\ KB page). See the Linux kernel source file "
"I<Documentation/admin-guide/mm/transhuge.rst> for more details."
msgstr ""
"В основном, эта возможность предназначена для приложений, которые используют "
"большие отображения данных и доступ к большим областям этой памяти за один "
"приём (например, системы виртуализации, такие как QEMU). С её помощью можно "
"очень легко занять память (например, на 2\\ МБ отображение, из которого "
"нужен только 1 байт, будет потрачено 2\\ МБ реальной памяти вместо одной 4\\ "
"КБ страницы). Дополнительную информацию смотрите в файле I<Documentation/"
"admin-guide/mm/transhuge.rst> из исходного кода ядра."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Most common kernels configurations provide B<MADV_HUGEPAGE>-style behavior "
"by default, and thus B<MADV_HUGEPAGE> is normally not necessary. It is "
"mostly intended for embedded systems, where B<MADV_HUGEPAGE>-style behavior "
"may not be enabled by default in the kernel. On such systems, this flag can "
"be used in order to selectively enable THP. Whenever B<MADV_HUGEPAGE> is "
"used, it should always be in regions of memory with an access pattern that "
"the developer knows in advance won't risk to increase the memory footprint "
"of the application when transparent hugepages are enabled."
msgstr ""
#. commit 99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Since Linux 5.4, automatic scan of eligible areas and replacement by huge "
"pages works with private anonymous pages (see B<mmap>(2)), shmem pages, and "
"file-backed pages. For all memory types, memory may only be replaced by "
"huge pages on hugepage-aligned boundaries. For file-mapped memory "
"\\[em]including tmpfs (see B<tmpfs>(2))\\[em] the mapping must also be "
"naturally hugepage-aligned within the file. Additionally, for file-backed, "
"non-tmpfs memory, the file must not be open for write and the mapping must "
"be executable."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The VMA must not be marked B<VM_NOHUGEPAGE>, B<VM_HUGETLB>, B<VM_IO>, "
"B<VM_DONTEXPAND>, B<VM_MIXEDMAP>, or B<VM_PFNMAP>, nor can it be stack "
"memory or backed by a DAX-enabled device (unless the DAX device is hot-"
"plugged as System RAM). The process must also not have "
"B<PR_SET_THP_DISABLE> set (see B<prctl>(2))."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The B<MADV_HUGEPAGE> and B<MADV_NOHUGEPAGE> operations are available only "
#| "if the kernel was configured with B<CONFIG_TRANSPARENT_HUGEPAGE>."
msgid ""
"The B<MADV_HUGEPAGE>, B<MADV_NOHUGEPAGE>, and B<MADV_COLLAPSE> operations "
"are available only if the kernel was configured with "
"B<CONFIG_TRANSPARENT_HUGEPAGE> and file/shmem memory is only supported if "
"the kernel was configured with B<CONFIG_READ_ONLY_THP_FOR_FS>."
msgstr ""
"Операции B<MADV_HUGEPAGE> и B<MADV_NOHUGEPAGE> доступны только, если ядро "
"собрано с параметром B<CONFIG_TRANSPARENT_HUGEPAGE>."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_NOHUGEPAGE> (since Linux 2.6.38)"
msgstr "B<MADV_NOHUGEPAGE> (начиная с Linux 2.6.38)"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "Ensures that memory in the address range specified by I<addr> and "
#| "I<length> will not be collapsed into huge pages."
msgid ""
"Ensures that memory in the address range specified by I<addr> and I<length> "
"will not be backed by transparent hugepages."
msgstr ""
"Проверить, что память адресного пространства, указанного в I<addr> и "
"I<length>, не будет свёрнута в огромные страницы."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "B<MADV_COLD> (since Linux 5.4)"
msgid "B<MADV_COLLAPSE> (since Linux 6.1)"
msgstr "B<MADV_COLD> (начиная с Linux 5.4)"
#. commit 7d8faaf155454f8798ec56404faca29a82689c77
#. commit 34488399fa08faaf664743fa54b271eb6f9e1321
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Perform a best-effort synchronous collapse of the native pages mapped by the "
"memory range into Transparent Huge Pages (THPs). B<MADV_COLLAPSE> operates "
"on the current state of memory of the calling process and makes no "
"persistent changes or guarantees on how pages will be mapped, constructed, "
"or faulted in the future."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"B<MADV_COLLAPSE> supports private anonymous pages (see B<mmap>(2)), shmem "
"pages, and file-backed pages. See B<MADV_HUGEPAGE> for general information "
"on memory requirements for THP. If the range provided spans multiple VMAs, "
"the semantics of the collapse over each VMA is independent from the others. "
"If collapse of a given huge page-aligned/sized region fails, the operation "
"may continue to attempt collapsing the remainder of the specified memory. "
"B<MADV_COLLAPSE> will automatically clamp the provided range to be hugepage-"
"aligned."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"All non-resident pages covered by the range will first be swapped/faulted-"
"in, before being copied onto a freshly allocated hugepage. If the native "
"pages compose the same PTE-mapped hugepage, and are suitably aligned, "
"allocation of a new hugepage may be elided and collapse may happen in-"
"place. Unmapped pages will have their data directly initialized to 0 in the "
"new hugepage. However, for every eligible hugepage-aligned/sized region to "
"be collapsed, at least one page must currently be backed by physical memory."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"B<MADV_COLLAPSE> is independent of any sysfs (see B<sysfs>(5)) setting "
"under I</sys/kernel/mm/transparent_hugepage>, both in terms of determining "
"THP eligibility, and allocation semantics. See Linux kernel source file "
"I<Documentation/admin-guide/mm/transhuge.rst> for more information. "
"B<MADV_COLLAPSE> also ignores B<huge=> tmpfs mount when operating on tmpfs "
"files. Allocation for the new hugepage may enter direct reclaim and/or "
"compaction, regardless of VMA flags (though B<VM_NOHUGEPAGE> is still "
"respected)."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"When the system has multiple NUMA nodes, the hugepage will be allocated from "
"the node providing the most native pages."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"If all hugepage-sized/aligned regions covered by the provided range were "
"either successfully collapsed, or were already PMD-mapped THPs, this "
"operation will be deemed successful. Note that this doesn't guarantee "
"anything about other possible mappings of the memory. In the event multiple "
"hugepage-aligned/sized areas fail to collapse, only the most-recently"
"\\[en]failed code will be set in I<errno>."
msgstr ""
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_DONTDUMP> (since Linux 3.4)"
msgstr "B<MADV_DONTDUMP> (начиная с Linux 3.4)"
#. commit 909af768e88867016f427264ae39d27a57b6a8ed
#. commit accb61fe7bb0f5c2a4102239e4981650f9048519
#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "Exclude from a core dump those pages in the range specified by I<addr> "
#| "and I<length>. This is useful in applications that have large areas of "
#| "memory that are known not to be useful in a core dump. The effect of "
#| "B<MADV_DONTDUMP> takes precedence over the bit mask that is set via the "
#| "I</proc/[pid]/coredump_filter> file (see B<core>(5))."
msgid ""
"Exclude from a core dump those pages in the range specified by I<addr> and "
"I<length>. This is useful in applications that have large areas of memory "
"that are known not to be useful in a core dump. The effect of "
"B<MADV_DONTDUMP> takes precedence over the bit mask that is set via the I</"
"proc/>pidI</coredump_filter> file (see B<core>(5))."
msgstr ""
"Исключить из дампа памяти страницы диапазона, задаваемого значениями I<addr> "
"и I<length>. Это полезно в приложениях, которые занимают большие области в "
"памяти, про которые известно, что они ничем не помогут будучи в дампе "
"памяти. Действие B<MADV_DONTDUMP> имеет преимущество над битовой маской, "
"которая устанавливается в файле I</proc/[pid]/coredump_filter> (смотрите "
"B<core>(5))."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_DODUMP> (since Linux 3.4)"
msgstr "B<MADV_DODUMP> (начиная с Linux 3.4)"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "Undo the effect of an earlier B<MADV_DONTDUMP>."
msgstr "Отменяет действие, установленное ранее B<MADV_DONTDUMP>."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_FREE> (since Linux 4.5)"
msgstr "B<MADV_FREE> (начиная с Linux 4.5)"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The application no longer requires the pages in the range specified by "
"I<addr> and I<len>. The kernel can thus free these pages, but the freeing "
"could be delayed until memory pressure occurs. For each of the pages that "
"has been marked to be freed but has not yet been freed, the free operation "
"will be canceled if the caller writes into the page. After a successful "
"B<MADV_FREE> operation, any stale data (i.e., dirty, unwritten pages) will "
"be lost when the kernel frees the pages. However, subsequent writes to "
"pages in the range will succeed and then kernel cannot free those dirtied "
"pages, so that the caller can always see just written data. If there is no "
"subsequent write, the kernel can free the pages at any time. Once pages in "
"the range have been freed, the caller will see zero-fill-on-demand pages "
"upon subsequent page references."
msgstr ""
"Приложению больше не требуются страницы в диапазоне, задаваемом I<addr> и "
"I<len>, поэтому ядро может освободить эти страницы, но освобождение может "
"быть отложено до тех пор, пока не понадобится память. Для каждой страницы, "
"помеченной как свободная, но ещё не освобождённая, операция освобождения "
"будет отменена, если вызывающий выполнит запись в эту страницу. После "
"успешного выполнения операции B<MADV_FREE> все повисшие данные (т. е., "
"изменённые (dirty) и не записанные страницы) будут потеряны в момент "
"освобождения страниц ядром. Однако последующая запись в страницы в этом "
"диапазоне будет успешной и поэтому ядро не сможет освободить эти изменённые "
"страницы и вызывающий всегда может видеть только что записанные данные. Если "
"последующей записи не было, то ядро может освободить страницы в любой "
"момент. После освобождения страниц диапазона при последующем доступе "
"вызывающий может видеть страницы заполненные нулями по требованию."
#. commit 93e06c7a645343d222c9a838834a51042eebbbf7
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The B<MADV_FREE> operation can be applied only to private anonymous pages "
#| "(see B<mmap>(2)). In Linux before version 4.12, when freeing pages on a "
#| "swapless system, the pages in the given range are freed instantly, "
#| "regardless of memory pressure."
msgid ""
"The B<MADV_FREE> operation can be applied only to private anonymous pages "
"(see B<mmap>(2)). Before Linux 4.12, when freeing pages on a swapless "
"system, the pages in the given range are freed instantly, regardless of "
"memory pressure."
msgstr ""
"Операция B<MADV_FREE> может применяться только при частным анонимным "
"страницам (смотрите B<mmap>(2)). В Linux до версии 4.12 страницы задаваемого "
"диапазона в системе без подкачки освобождаются сразу, независимо от "
"необходимости в памяти."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_WIPEONFORK> (since Linux 4.14)"
msgstr "B<MADV_WIPEONFORK> (начиная с Linux 4.14)"
#. commit d2cd9ede6e193dd7d88b6d27399e96229a551b19
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Present the child process with zero-filled memory in this range after a "
"B<fork>(2). This is useful in forking servers in order to ensure that "
"sensitive per-process data (for example, PRNG seeds, cryptographic secrets, "
"and so on) is not handed to child processes."
msgstr ""
"Выдать дочернему процессу заполненную нулями память в этом диапазоне после "
"B<fork>(2). Это позволяет при ветвлении (forking) серверов стереть важные "
"данные процесса (например, начальные значения PRNG, данные шифрования и т. "
"п.) у дочерних процессов."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The B<MADV_WIPEONFORK> operation can be applied only to private anonymous "
"pages (see B<mmap>(2))."
msgstr ""
"Операция B<MADV_WIPEONFORK> применима только к частным анонимным страницам "
"(смотрите B<mmap>(2))."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Within the child created by B<fork>(2), the B<MADV_WIPEONFORK> setting "
"remains in place on the specified address range. This setting is cleared "
"during B<execve>(2)."
msgstr ""
"В потомке, созданном B<fork>(2), значение B<MADV_WIPEONFORK> остаётся у "
"указанного адресного диапазона. Это значение стирается при B<execve>(2)."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_KEEPONFORK> (since Linux 4.14)"
msgstr "B<MADV_KEEPONFORK> (начиная с Linux 4.14)"
#. commit d2cd9ede6e193dd7d88b6d27399e96229a551b19
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "Undo the effect of an earlier B<MADV_WIPEONFORK>."
msgstr "Отменяет действие, установленное ранее B<MADV_WIPEONFORK>."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_COLD> (since Linux 5.4)"
msgstr "B<MADV_COLD> (начиная с Linux 5.4)"
#. commit 9c276cc65a58faf98be8e56962745ec99ab87636
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Deactivate a given range of pages. This will make the pages a more probable "
"reclaim target should there be a memory pressure. This is a nondestructive "
"operation. The advice might be ignored for some pages in the range when it "
"is not applicable."
msgstr ""
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_PAGEOUT> (since Linux 5.4)"
msgstr "B<MADV_PAGEOUT> (начиная с Linux 5.4)"
#. commit 1a4e58cce84ee88129d5d49c064bd2852b481357
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Reclaim a given range of pages. This is done to free up memory occupied by "
"these pages. If a page is anonymous, it will be swapped out. If a page is "
"file-backed and dirty, it will be written back to the backing storage. The "
"advice might be ignored for some pages in the range when it is not "
"applicable."
msgstr ""
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_POPULATE_READ> (since Linux 5.14)"
msgstr "B<MADV_POPULATE_READ> (начиная с Linux 5.14)"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"\"Populate (prefault) page tables readable, faulting in all pages in the "
"range just as if manually reading from each page; however, avoid the actual "
"memory access that would have been performed after handling the fault."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"In contrast to B<MAP_POPULATE>, B<MADV_POPULATE_READ> does not hide errors, "
"can be applied to (parts of) existing mappings and will always populate "
"(prefault) page tables readable. One example use case is prefaulting a file "
"mapping, reading all file content from disk; however, pages won't be dirtied "
"and consequently won't have to be written back to disk when evicting the "
"pages from memory."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Depending on the underlying mapping, map the shared zeropage, preallocate "
"memory or read the underlying file; files with holes might or might not "
"preallocate blocks. If populating fails, a B<SIGBUS> signal is not "
"generated; instead, an error is returned."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"If B<MADV_POPULATE_READ> succeeds, all page tables have been populated "
"(prefaulted) readable once. If B<MADV_POPULATE_READ> fails, some page "
"tables might have been populated."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"B<MADV_POPULATE_READ> cannot be applied to mappings without read permissions "
"and special mappings, for example, mappings marked with kernel-internal "
"flags such as B<VM_PFNMAP> or B<VM_IO>, or secret memory regions created "
"using B<memfd_secret(2)>."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "On Linux, there are no guarantees like those suggested above under "
#| "B<MAP_NORESERVE>. By default, any process can be killed at any moment "
#| "when the system runs out of memory."
msgid ""
"Note that with B<MADV_POPULATE_READ>, the process can be killed at any "
"moment when the system runs out of memory."
msgstr ""
"В Linux не гарантируется результат флага B<MAP_NORESERVE>, описанный выше. "
"По умолчанию, любой процесс может быть принудительно завершён в любой "
"момент, если в системе закончилась память."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<MADV_POPULATE_WRITE> (since Linux 5.14)"
msgstr "B<MADV_POPULATE_WRITE> (начиная с Linux 5.14)"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Populate (prefault) page tables writable, faulting in all pages in the range "
"just as if manually writing to each each page; however, avoid the actual "
"memory access that would have been performed after handling the fault."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"In contrast to B<MAP_POPULATE>, MADV_POPULATE_WRITE does not hide errors, "
"can be applied to (parts of) existing mappings and will always populate "
"(prefault) page tables writable. One example use case is preallocating "
"memory, breaking any CoW (Copy on Write)."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Depending on the underlying mapping, preallocate memory or read the "
"underlying file; files with holes will preallocate blocks. If populating "
"fails, a B<SIGBUS> signal is not generated; instead, an error is returned."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"If B<MADV_POPULATE_WRITE> succeeds, all page tables have been populated "
"(prefaulted) writable once. If B<MADV_POPULATE_WRITE> fails, some page "
"tables might have been populated."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"B<MADV_POPULATE_WRITE> cannot be applied to mappings without write "
"permissions and special mappings, for example, mappings marked with kernel-"
"internal flags such as B<VM_PFNMAP> or B<VM_IO>, or secret memory regions "
"created using B<memfd_secret(2)>."
msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "On Linux, there are no guarantees like those suggested above under "
#| "B<MAP_NORESERVE>. By default, any process can be killed at any moment "
#| "when the system runs out of memory."
msgid ""
"Note that with B<MADV_POPULATE_WRITE>, the process can be killed at any "
"moment when the system runs out of memory."
msgstr ""
"В Linux не гарантируется результат флага B<MAP_NORESERVE>, описанный выше. "
"По умолчанию, любой процесс может быть принудительно завершён в любой "
"момент, если в системе закончилась память."
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "RETURN VALUE"
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "On success B<move_pages>() returns zero. On error, it returns -1, and "
#| "sets I<errno> to indicate the error."
msgid ""
"On success, B<madvise>() returns zero. On error, it returns -1 and "
"I<errno> is set to indicate the error."
msgstr ""
"При нормальном завершении работы B<move_pages>() возвращает ноль. В случае "
"ошибки возвращается -1, а I<errno> устанавливается в соответствующее "
"значение."
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "ERRORS"
msgstr "ОШИБКИ"
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EACCES>"
msgstr "B<EACCES>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<advice> is B<MADV_REMOVE>, but the specified address range is not a shared "
"writable mapping."
msgstr ""
"В I<advice> указан B<MADV_REMOVE>, но описанный диапазон адресов не является "
"общей памятью с разрешением на записи"
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EAGAIN>"
msgstr "B<EAGAIN>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A kernel resource was temporarily unavailable."
msgstr "Ресурс ядра временно недоступен."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EBADF>"
msgstr "B<EBADF>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "The map exists, but the area maps something that isn't a file."
msgstr "Отображение существует, то область отображения не является файловой."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EBUSY>"
msgstr "B<EBUSY>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"(for B<MADV_COLLAPSE>) Could not charge hugepage to cgroup: cgroup limit "
"exceeded."
msgstr ""
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EFAULT>"
msgstr "B<EFAULT>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<advice> is B<MADV_POPULATE_READ> or B<MADV_POPULATE_WRITE>, and populating "
"(prefaulting) page tables failed because a B<SIGBUS> would have been "
"generated on actual memory access and the reason is not a HW poisoned page "
"(HW poisoned pages can, for example, be created using the B<MADV_HWPOISON> "
"flag described elsewhere in this page)."
msgstr ""
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EINVAL>"
msgstr "B<EINVAL>"
#. .I length
#. is zero,
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "I<addr> is not page-aligned or I<length> is negative."
msgstr ""
"Значение параметра I<addr> не выровнено по границе страницы или параметр "
"I<length> содержит отрицательное число."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "I<advice> is not a valid."
msgstr "Значение I<advice> недопустимо."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<advice> is B<MADV_COLD> or B<MADV_PAGEOUT> and the specified address range "
"includes locked, Huge TLB pages, or B<VM_PFNMAP> pages."
msgstr ""
"Значение I<advice> равно B<MADV_COLD> или B<MADV_PAGEOUT>, а указанный "
"адресный диапазон включает заблокированные, Huge TLB или B<VM_PFNMAP> "
"страницы."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<advice> is B<MADV_DONTNEED> or B<MADV_REMOVE> and the specified address "
"range includes locked, Huge TLB pages, or B<VM_PFNMAP> pages."
msgstr ""
"Значение I<advice> равно B<MADV_DONTNEED> или B<MADV_REMOVE>, а указанный "
"адресный диапазон включает заблокированные, Huge TLB или B<VM_PFNMAP> "
"страницы."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<advice> is B<MADV_MERGEABLE> or B<MADV_UNMERGEABLE>, but the kernel was "
"not configured with B<CONFIG_KSM>."
msgstr ""
"Значение I<advice> равно B<MADV_MERGEABLE> или B<MADV_UNMERGEABLE>, но ядро "
"было собрано без параметра B<CONFIG_KSM>."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<advice> is B<MADV_FREE> or B<MADV_WIPEONFORK> but the specified address "
"range includes file, Huge TLB, B<MAP_SHARED>, or B<VM_PFNMAP> ranges."
msgstr ""
"Значение I<advice> равно B<MADV_FREE> или B<MADV_WIPEONFORK>, но в указанном "
"адресном диапазоне содержится файл, Huge TLB, диапазоны B<MAP_SHARED> или "
"B<VM_PFNMAP>."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<advice> is B<MADV_POPULATE_READ> or B<MADV_POPULATE_WRITE>, but the "
"specified address range includes ranges with insufficient permissions or "
"special mappings, for example, mappings marked with kernel-internal flags "
"such a B<VM_IO> or B<VM_PFNMAP>, or secret memory regions created using "
"B<memfd_secret(2)>."
msgstr ""
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EIO>"
msgstr "B<EIO>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"(for B<MADV_WILLNEED>) Paging in this area would exceed the process's "
"maximum resident set size."
msgstr ""
"(для B<MADV_WILLNEED>) Выделение страницы в данной области превысило бы "
"максимальный размер постоянно находящихся в памяти страниц для процесса "
"(rss)."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<ENOMEM>"
msgstr "B<ENOMEM>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "(for B<MADV_WILLNEED>) Not enough memory: paging in failed."
msgstr ""
"(для B<MADV_WILLNEED>) Недостаточно памяти: не удалось выделить страницу"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid "(for B<MADV_WILLNEED>) Not enough memory: paging in failed."
msgid "(for B<MADV_COLLAPSE>) Not enough memory: could not allocate hugepage."
msgstr ""
"(для B<MADV_WILLNEED>) Недостаточно памяти: не удалось выделить страницу"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Addresses in the specified range are not currently mapped, or are outside "
"the address space of the process."
msgstr ""
"Адреса в указанном диапазоне в настоящее время не отображены, или лежит вне "
"адресного пространства процесса."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<advice> is B<MADV_POPULATE_READ> or B<MADV_POPULATE_WRITE>, and populating "
"(prefaulting) page tables failed because there was not enough memory."
msgstr ""
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EPERM>"
msgstr "B<EPERM>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<advice> is B<MADV_HWPOISON>, but the caller does not have the "
"B<CAP_SYS_ADMIN> capability."
msgstr ""
"В переменной I<advice> содержится B<MADV_HWPOISON>, но вызывающий не имеет "
"мандата B<CAP_SYS_ADMIN>."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EHWPOISON>"
msgstr "B<EHWPOISON>"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<advice> is B<MADV_POPULATE_READ> or B<MADV_POPULATE_WRITE>, and populating "
"(prefaulting) page tables failed because a HW poisoned page (HW poisoned "
"pages can, for example, be created using the B<MADV_HWPOISON> flag described "
"elsewhere in this page) was encountered."
msgstr ""
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "VERSIONS"
msgstr "ВЕРСИИ"
#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "B<madvise>() is not specified by any standards. Versions of this system "
#| "call, implementing a wide variety of I<advice> values, exist on many "
#| "other implementations. Other implementations typically implement at "
#| "least the flags listed above under I<Conventional advice flags>, albeit "
#| "with some variation in semantics."
msgid ""
"Versions of this system call, implementing a wide variety of I<advice> "
"values, exist on many other implementations. Other implementations "
"typically implement at least the flags listed above under I<Conventional "
"advice flags>, albeit with some variation in semantics."
msgstr ""
"Вызов B<madvise>() не включён ни в один стандарт. Версии этого системного "
"вызова, реализующие широкий набор значений I<advice>, существуют во многих "
"других системах. В них, обычно, реализуются, как минимум, флаги "
"перечисленные в I<Стандартные значения предложений>, хотя и с некоторыми "
"различиями в семантике."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"POSIX.1-2001 describes B<posix_madvise>(3) with constants "
"B<POSIX_MADV_NORMAL>, B<POSIX_MADV_RANDOM>, B<POSIX_MADV_SEQUENTIAL>, "
"B<POSIX_MADV_WILLNEED>, and B<POSIX_MADV_DONTNEED>, and so on, with behavior "
"close to the similarly named flags listed above."
msgstr ""
"В POSIX-2001 описана функция B<posix_madvise>(3) с константами "
"B<POSIX_MADV_NORMAL>, B<POSIX_MADV_RANDOM>, B<POSIX_MADV_SEQUENTIAL>, "
"B<POSIX_MADV_WILLNEED> и B<POSIX_MADV_DONTNEED>, и т. п., реализующая "
"поведение близкое к флагам с именами, перечисленным выше."
#. type: SS
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Linux"
msgstr "Linux"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The Linux implementation requires that the address I<addr> be page-aligned, "
"and allows I<length> to be zero. If there are some parts of the specified "
"address range that are not mapped, the Linux version of B<madvise>() "
"ignores them and applies the call to the rest (but returns B<ENOMEM> from "
"the system call, as it should)."
msgstr ""
"Для реализации Linux требуется, чтобы адрес I<addr> был выровнен на границу "
"страницы, а значение I<length> может быть нулевым. Если какие-то части "
"указанного адресного диапазона не отображены, то версия Linux B<madvise>() "
"игнорирует их и вызов применяется к оставшейся области (но возвращается "
"значение B<ENOMEM>, как и должно)."
#. #-#-#-#-# archlinux: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
#. type: Plain text
#. #-#-#-#-# debian-bookworm: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
#. .SH HISTORY
#. The
#. .BR madvise ()
#. function first appeared in 4.4BSD.
#. type: Plain text
#. #-#-#-#-# debian-unstable: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
#. type: Plain text
#. #-#-#-#-# fedora-40: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
#. type: Plain text
#. #-#-#-#-# fedora-rawhide: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
#. type: Plain text
#. #-#-#-#-# mageia-cauldron: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
#. type: Plain text
#. #-#-#-#-# opensuse-leap-15-6: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
#. type: Plain text
#. #-#-#-#-# opensuse-tumbleweed: madvise.2.pot (PACKAGE VERSION) #-#-#-#-#
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"I<madvise(0,\\ 0,\\ advice)> will return zero iff I<advice> is supported by "
"the kernel and can be relied on to probe for support."
msgstr ""
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "STANDARDS"
msgstr "СТАНДАРТЫ"
#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid "None"
msgid "None."
msgstr "None"
#. type: SH
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "HISTORY"
msgstr "ИСТОРИЯ"
#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid "This function first appeared in BSDi."
msgid "First appeared in 4.4BSD."
msgstr "Эта функция впервые появилась в BSDi."
#. commit d3ac21cacc24790eb45d735769f35753f5b56ceb
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Since Linux 3.18, support for this system call is optional, depending on the "
"setting of the B<CONFIG_ADVISE_SYSCALLS> configuration option."
msgstr ""
"Начиная с Linux 3.18 поддержка данного системного вызова необязательна, она "
"зависит от того, собрано ли ядро с параметром B<CONFIG_ADVISE_SYSCALLS>."
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "SEE ALSO"
msgstr "СМОТРИТЕ ТАКЖЕ"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"B<getrlimit>(2), B<memfd_secret>(2), B<mincore>(2), B<mmap>(2), "
"B<mprotect>(2), B<msync>(2), B<munmap>(2), B<prctl>(2), "
"B<process_madvise>(2), B<posix_madvise>(3), B<core>(5)"
msgstr ""
"B<getrlimit>(2), B<memfd_secret>(2), B<mincore>(2), B<mmap>(2), "
"B<mprotect>(2), B<msync>(2), B<munmap>(2), B<prctl>(2), "
"B<process_madvise>(2), B<posix_madvise>(3), B<core>(5)"
#. type: TH
#: debian-bookworm
#, no-wrap
msgid "2023-02-05"
msgstr "5 февраля 2023 г."
#. type: TH
#: debian-bookworm
#, no-wrap
msgid "Linux man-pages 6.03"
msgstr "Linux man-pages 6.03"
#. commit 909af768e88867016f427264ae39d27a57b6a8ed
#. commit accb61fe7bb0f5c2a4102239e4981650f9048519
#. type: Plain text
#: debian-bookworm
msgid ""
"Exclude from a core dump those pages in the range specified by I<addr> and "
"I<length>. This is useful in applications that have large areas of memory "
"that are known not to be useful in a core dump. The effect of "
"B<MADV_DONTDUMP> takes precedence over the bit mask that is set via the I</"
"proc/[pid]/coredump_filter> file (see B<core>(5))."
msgstr ""
"Исключить из дампа памяти страницы диапазона, задаваемого значениями I<addr> "
"и I<length>. Это полезно в приложениях, которые занимают большие области в "
"памяти, про которые известно, что они ничем не помогут будучи в дампе "
"памяти. Действие B<MADV_DONTDUMP> имеет преимущество над битовой маской, "
"которая устанавливается в файле I</proc/[pid]/coredump_filter> (смотрите "
"B<core>(5))."
#. type: Plain text
#: debian-bookworm
msgid ""
"B<madvise>() is not specified by any standards. Versions of this system "
"call, implementing a wide variety of I<advice> values, exist on many other "
"implementations. Other implementations typically implement at least the "
"flags listed above under I<Conventional advice flags>, albeit with some "
"variation in semantics."
msgstr ""
"Вызов B<madvise>() не включён ни в один стандарт. Версии этого системного "
"вызова, реализующие широкий набор значений I<advice>, существуют во многих "
"других системах. В них, обычно, реализуются, как минимум, флаги "
"перечисленные в I<Стандартные значения предложений>, хотя и с некоторыми "
"различиями в семантике."
#. type: SH
#: debian-bookworm
#, no-wrap
msgid "NOTES"
msgstr "ПРИМЕЧАНИЯ"
#. type: SS
#: debian-bookworm
#, no-wrap
msgid "Linux notes"
msgstr "Замечания, касающиеся Linux"
#. type: TH
#: fedora-40 fedora-rawhide mageia-cauldron
#, no-wrap
msgid "2023-10-31"
msgstr "31 октября 2023 г."
#. type: TH
#: fedora-40 mageia-cauldron
#, no-wrap
msgid "Linux man-pages 6.06"
msgstr "Linux man-pages 6.06"
#. type: TH
#: fedora-rawhide
#, no-wrap
msgid "Linux man-pages 6.7"
msgstr "Linux man-pages 6.7"
#. type: TH
#: opensuse-leap-15-6
#, no-wrap
msgid "2023-04-03"
msgstr "3 апреля 2023 г."
#. type: TH
#: opensuse-leap-15-6
#, no-wrap
msgid "Linux man-pages 6.04"
msgstr "Linux man-pages 6.04"
#. type: TH
#: opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "Linux man-pages 6.7"
msgid "Linux man-pages (unreleased)"
msgstr "Linux man-pages 6.7"
|