diff options
Diffstat (limited to 'Documentation/filesystems/proc.txt')
| -rw-r--r-- | Documentation/filesystems/proc.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index 12a5e6e693b6..b24fd9bccc99 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
| @@ -182,6 +182,7 @@ read the file /proc/PID/status: | |||
| 182 | VmSwap: 0 kB | 182 | VmSwap: 0 kB |
| 183 | HugetlbPages: 0 kB | 183 | HugetlbPages: 0 kB |
| 184 | CoreDumping: 0 | 184 | CoreDumping: 0 |
| 185 | THP_enabled: 1 | ||
| 185 | Threads: 1 | 186 | Threads: 1 |
| 186 | SigQ: 0/28578 | 187 | SigQ: 0/28578 |
| 187 | SigPnd: 0000000000000000 | 188 | SigPnd: 0000000000000000 |
| @@ -256,6 +257,8 @@ Table 1-2: Contents of the status files (as of 4.8) | |||
| 256 | HugetlbPages size of hugetlb memory portions | 257 | HugetlbPages size of hugetlb memory portions |
| 257 | CoreDumping process's memory is currently being dumped | 258 | CoreDumping process's memory is currently being dumped |
| 258 | (killing the process may lead to a corrupted core) | 259 | (killing the process may lead to a corrupted core) |
| 260 | THP_enabled process is allowed to use THP (returns 0 when | ||
| 261 | PR_SET_THP_DISABLE is set on the process | ||
| 259 | Threads number of threads | 262 | Threads number of threads |
| 260 | SigQ number of signals queued/max. number for queue | 263 | SigQ number of signals queued/max. number for queue |
| 261 | SigPnd bitmap of pending signals for the thread | 264 | SigPnd bitmap of pending signals for the thread |
| @@ -425,6 +428,7 @@ SwapPss: 0 kB | |||
| 425 | KernelPageSize: 4 kB | 428 | KernelPageSize: 4 kB |
| 426 | MMUPageSize: 4 kB | 429 | MMUPageSize: 4 kB |
| 427 | Locked: 0 kB | 430 | Locked: 0 kB |
| 431 | THPeligible: 0 | ||
| 428 | VmFlags: rd ex mr mw me dw | 432 | VmFlags: rd ex mr mw me dw |
| 429 | 433 | ||
| 430 | the first of these lines shows the same information as is displayed for the | 434 | the first of these lines shows the same information as is displayed for the |
| @@ -462,6 +466,8 @@ replaced by copy-on-write) part of the underlying shmem object out on swap. | |||
| 462 | "SwapPss" shows proportional swap share of this mapping. Unlike "Swap", this | 466 | "SwapPss" shows proportional swap share of this mapping. Unlike "Swap", this |
| 463 | does not take into account swapped out page of underlying shmem objects. | 467 | does not take into account swapped out page of underlying shmem objects. |
| 464 | "Locked" indicates whether the mapping is locked in memory or not. | 468 | "Locked" indicates whether the mapping is locked in memory or not. |
| 469 | "THPeligible" indicates whether the mapping is eligible for THP pages - 1 if | ||
| 470 | true, 0 otherwise. | ||
| 465 | 471 | ||
| 466 | "VmFlags" field deserves a separate description. This member represents the kernel | 472 | "VmFlags" field deserves a separate description. This member represents the kernel |
| 467 | flags associated with the particular virtual memory area in two letter encoded | 473 | flags associated with the particular virtual memory area in two letter encoded |
| @@ -496,7 +502,9 @@ manner. The codes are the following: | |||
| 496 | 502 | ||
| 497 | Note that there is no guarantee that every flag and associated mnemonic will | 503 | Note that there is no guarantee that every flag and associated mnemonic will |
| 498 | be present in all further kernel releases. Things get changed, the flags may | 504 | be present in all further kernel releases. Things get changed, the flags may |
| 499 | be vanished or the reverse -- new added. | 505 | be vanished or the reverse -- new added. Interpretation of their meaning |
| 506 | might change in future as well. So each consumer of these flags has to | ||
| 507 | follow each specific kernel version for the exact semantic. | ||
| 500 | 508 | ||
| 501 | This file is only present if the CONFIG_MMU kernel configuration option is | 509 | This file is only present if the CONFIG_MMU kernel configuration option is |
| 502 | enabled. | 510 | enabled. |
