diff options
Diffstat (limited to 'Documentation/filesystems/proc.txt')
-rw-r--r-- | Documentation/filesystems/proc.txt | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index 8c6384bdfed4..f566ad9bcb7b 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
@@ -931,7 +931,7 @@ group_prealloc max_to_scan mb_groups mb_history min_to_scan order2_req | |||
931 | stats stream_req | 931 | stats stream_req |
932 | 932 | ||
933 | mb_groups: | 933 | mb_groups: |
934 | This file gives the details of mutiblock allocator buddy cache of free blocks | 934 | This file gives the details of multiblock allocator buddy cache of free blocks |
935 | 935 | ||
936 | mb_history: | 936 | mb_history: |
937 | Multiblock allocation history. | 937 | Multiblock allocation history. |
@@ -1339,6 +1339,25 @@ Enables/Disables the protection of the per-process proc entries "maps" and | |||
1339 | "smaps". When enabled, the contents of these files are visible only to | 1339 | "smaps". When enabled, the contents of these files are visible only to |
1340 | readers that are allowed to ptrace() the given process. | 1340 | readers that are allowed to ptrace() the given process. |
1341 | 1341 | ||
1342 | msgmni | ||
1343 | ------ | ||
1344 | |||
1345 | Maximum number of message queue ids on the system. | ||
1346 | This value scales to the amount of lowmem. It is automatically recomputed | ||
1347 | upon memory add/remove or ipc namespace creation/removal. | ||
1348 | When a value is written into this file, msgmni's value becomes fixed, i.e. it | ||
1349 | is not recomputed anymore when one of the above events occurs. | ||
1350 | Use auto_msgmni to change this behavior. | ||
1351 | |||
1352 | auto_msgmni | ||
1353 | ----------- | ||
1354 | |||
1355 | Enables/Disables automatic recomputing of msgmni upon memory add/remove or | ||
1356 | upon ipc namespace creation/removal (see the msgmni description above). | ||
1357 | Echoing "1" into this file enables msgmni automatic recomputing. | ||
1358 | Echoing "0" turns it off. | ||
1359 | auto_msgmni default value is 1. | ||
1360 | |||
1342 | 1361 | ||
1343 | 2.4 /proc/sys/vm - The virtual memory subsystem | 1362 | 2.4 /proc/sys/vm - The virtual memory subsystem |
1344 | ----------------------------------------------- | 1363 | ----------------------------------------------- |
@@ -1474,7 +1493,7 @@ used because pages_free(1355) is smaller than watermark + protection[2] | |||
1474 | normal page requirement. If requirement is DMA zone(index=0), protection[0] | 1493 | normal page requirement. If requirement is DMA zone(index=0), protection[0] |
1475 | (=0) is used. | 1494 | (=0) is used. |
1476 | 1495 | ||
1477 | zone[i]'s protection[j] is calculated by following exprssion. | 1496 | zone[i]'s protection[j] is calculated by following expression. |
1478 | 1497 | ||
1479 | (i < j): | 1498 | (i < j): |
1480 | zone[i]->protection[j] | 1499 | zone[i]->protection[j] |
@@ -2394,6 +2413,8 @@ The following 4 memory types are supported: | |||
2394 | - (bit 1) anonymous shared memory | 2413 | - (bit 1) anonymous shared memory |
2395 | - (bit 2) file-backed private memory | 2414 | - (bit 2) file-backed private memory |
2396 | - (bit 3) file-backed shared memory | 2415 | - (bit 3) file-backed shared memory |
2416 | - (bit 4) ELF header pages in file-backed private memory areas (it is | ||
2417 | effective only if the bit 2 is cleared) | ||
2397 | 2418 | ||
2398 | Note that MMIO pages such as frame buffer are never dumped and vDSO pages | 2419 | Note that MMIO pages such as frame buffer are never dumped and vDSO pages |
2399 | are always dumped regardless of the bitmask status. | 2420 | are always dumped regardless of the bitmask status. |