Documentation: Add "Unaccepted" meminfo entry
Subsystems (3)
PATCH 1/1 Documentation: Add "Unaccepted" meminfo entry
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.
--- Documentation/filesystems/proc.rst | 3 +++ 1 file changed, 3 insertions(+)
Documentation/filesystems/proc.rst +3 -0
@@ -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 HugePages_Total, HugePages_Free, HugePages_Rsvd, HugePages_Surp, Hugepagesize, Hugetlb See Documentation/admin-guide/mm/hugetlbpage.rst. DirectMap4k, DirectMap2M, DirectMap1G
Signature · 1 line
2.48.1
Quoted 9 lines · Nico Pache
Commit
dcdfdd40fa82("mm: Add support for unaccepted memory") added a entry to meminfo but did not document it in theproc.rstfile.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 <[email protected]>
Signature · 1 line
Kiryl Shutsemau / Kirill A. Shutemov
Quoted 26 lines · Nico Pache
Commit
dcdfdd40fa82("mm: Add support for unaccepted memory") added a entry to meminfo but did not document it in theproc.rstfile.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 <[email protected]>--- Documentation/filesystems/proc.rst | 3 +++ 1 file changed, 3 insertions(+)Documentation/filesystems/proc.rst +1
-0@@ -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
Documentation/filesystems/proc.rst CmaTotal · line 1233
Quoted 5 lines
Documentation/filesystems/proc.rst +2
-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
Signature · 3 lines
Cheers, David / dhildenb
Quoted 36 lines · David Hildenbrand
Quoted 26 lines · Nico Pache
Commit
dcdfdd40fa82("mm: Add support for unaccepted memory") added a entry to meminfo but did not document it in theproc.rstfile.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 <[email protected]>--- Documentation/filesystems/proc.rst | 3 +++ 1 file changed, 3 insertions(+)Documentation/filesystems/proc.rst +1
-0@@ -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: 0Documentation/filesystems/proc.rst CmaTotal · line 1233
Quoted 5 lines
Documentation/filesystems/proc.rst +2
-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 guestI was wondering if we could be clearer like
Quoted 3 lines
"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."
I actually grappled with the description for longer than I'd like to admit lol. I wanted to add more but *most* others left the description short-- so I tried to make it short too.
Quoted 4 lines
In any case
Thanks!
Quoted 6 lines
--
Cheers,David / dhildenb