summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/proc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/filesystems/proc.txt')
-rw-r--r--Documentation/filesystems/proc.txt10
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
425KernelPageSize: 4 kB 428KernelPageSize: 4 kB
426MMUPageSize: 4 kB 429MMUPageSize: 4 kB
427Locked: 0 kB 430Locked: 0 kB
431THPeligible: 0
428VmFlags: rd ex mr mw me dw 432VmFlags: rd ex mr mw me dw
429 433
430the first of these lines shows the same information as is displayed for the 434the 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
463does not take into account swapped out page of underlying shmem objects. 467does 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
470true, 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
467flags associated with the particular virtual memory area in two letter encoded 473flags associated with the particular virtual memory area in two letter encoded
@@ -496,7 +502,9 @@ manner. The codes are the following:
496 502
497Note that there is no guarantee that every flag and associated mnemonic will 503Note that there is no guarantee that every flag and associated mnemonic will
498be present in all further kernel releases. Things get changed, the flags may 504be present in all further kernel releases. Things get changed, the flags may
499be vanished or the reverse -- new added. 505be vanished or the reverse -- new added. Interpretation of their meaning
506might change in future as well. So each consumer of these flags has to
507follow each specific kernel version for the exact semantic.
500 508
501This file is only present if the CONFIG_MMU kernel configuration option is 509This file is only present if the CONFIG_MMU kernel configuration option is
502enabled. 510enabled.