This is an automated email from the ASF dual-hosted git repository.
bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 4afeefe96 [cgroups2] Clarify cgroups2::memory::stats documentation.
4afeefe96 is described below
commit 4afeefe9693d1aa5d895a513eff8509975721b81
Author: None <None>
AuthorDate: Mon May 13 15:35:39 2024 -0400
[cgroups2] Clarify cgroups2::memory::stats documentation.
After performing some testing, we found that memory.stat contains
information about the cgroup *and its descendants*, but this is
not currently mentioned in our own documentation.
Review: https://reviews.apache.org/r/74980/
---
src/linux/cgroups2.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/linux/cgroups2.hpp b/src/linux/cgroups2.hpp
index 619c75737..ecac09d9b 100644
--- a/src/linux/cgroups2.hpp
+++ b/src/linux/cgroups2.hpp
@@ -416,7 +416,7 @@ Try<Nothing> set_high(
Result<Bytes> high(const std::string& cgroup);
-// Get the memory usage statistics for a cgroup.
+// Get the total memory usage statistics for a cgroup and its descendents.
//
// Cannot be used for the root cgroup.
Try<Stats> stats(const std::string& cgroup);