[PATCH v2] Documentation: proc.txt: Adding 'HardwareCorrupted' field and description.

From: Prashant Dhamdhere
Date: Fri Jul 13 2018 - 13:28:14 EST


This patch talks about the 'HardwareCorrupted' field currently missing from
the 'meminfo' section of 'proc.txt' file. It also includes short description
of 'HardwareCorrupted' field.

Signed-off-by: Prashant Dhamdhere <pdhamdhe@xxxxxxxxxx>
---
Documentation/filesystems/proc.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index 520f6a84cf50..1605acbb23b6 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -870,6 +870,7 @@ Committed_AS: 100056 kB
VmallocTotal: 112216 kB
VmallocUsed: 428 kB
VmallocChunk: 111088 kB
+HardwareCorrupted: 0 kB
AnonHugePages: 49152 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
@@ -915,6 +916,8 @@ MemAvailable: An estimate of how much memory is available for starting new
Dirty: Memory which is waiting to get written back to the disk
Writeback: Memory which is actively being written back to the disk
AnonPages: Non-file backed pages mapped into userspace page tables
+HardwareCorrupted: The amount of RAM/memory in KB, the kernel identifies as
+ corrupted.
AnonHugePages: Non-file backed huge pages mapped into userspace page tables
Mapped: files which have been mmaped, such as libraries
Shmem: Total memory used by shared memory (shmem) and tmpfs
--
2.17.1