lkml.org 
[lkml]   [2021]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v4 3/3] x86/sgx: Document SGX_MemTotal to Documentation/x86/meminfo.rst
Date
Document SGX_MemTotal field of /proc/meminfo to
Documentation/x86/meminfo.rst. This is a new file for x86 specific
meminfo fields.

Suggested-by: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
---
v4:
* A new patch.
Documentation/x86/meminfo.rst | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 Documentation/x86/meminfo.rst

diff --git a/Documentation/x86/meminfo.rst b/Documentation/x86/meminfo.rst
new file mode 100644
index 000000000000..999b676a04a8
--- /dev/null
+++ b/Documentation/x86/meminfo.rst
@@ -0,0 +1,11 @@
+This document describes x86 specific fields of /proc/meminfo.
+
+Supplemental fields for /proc/meminfo
+=====================================
+
+SGX_MemTotal
+ Total usable physical SGX memory, also known as Enclave
+ Page Cache (EPC), in kB's. This is the physical memory
+ used for enclave pages. It is below the amount set in
+ the BIOS: a portion of that memory is required for
+ the state of the enclave pages.
--
2.25.1
\
 
 \ /
  Last update: 2021-09-10 02:45    [W:0.124 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site