Re: [PATCH] Documentation: Add "Unaccepted" meminfo entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18.03.25 00:04, Nico Pache wrote:
Commit dcdfdd40fa82 ("mm: Add support for unaccepted memory") added a
entry to meminfo but did not document it in the proc.rst file.

This counter tracks the amount of "Unaccepted" guest memory for some
Virtual Machine platforms, such as Intel TDX or AMD SEV-SNP.

Add the missing entry in the documentation.

Signed-off-by: Nico Pache <npache@xxxxxxxxxx>
---
  Documentation/filesystems/proc.rst | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index 09f0aed5a08b..8fcf19c31b18 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -1060,6 +1060,7 @@ Example output. You may not have all of these fields.
      FilePmdMapped:         0 kB
      CmaTotal:              0 kB
      CmaFree:               0 kB
+    Unaccepted:            0 kB
      HugePages_Total:       0
      HugePages_Free:        0
      HugePages_Rsvd:        0
@@ -1228,6 +1229,8 @@ CmaTotal
                Memory reserved for the Contiguous Memory Allocator (CMA)
  CmaFree
                Free remaining memory in the CMA reserves
+Unaccepted
+              Memory that has not been accepted by the guest

I was wondering if we could be clearer like

"Memory that has not been accepted. Especially in some confidential VM implementations, memory must be accepted manually by the guest OS before it can be used the first time."

In any case

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers,

David / dhildenb





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux