Can Cgroup memory subsystem provide estimated available memory, just like /proc/meminfo: MemAvailable?

宁静的天空 497692757 at qq.com
Sat Oct 8 02:59:56 EDT 2022


Hello cgroup experts,


/proc/meminfo: MemAvailable is a very useful mertics, provide estimated available memory, caculated by MemFree, Active(file), Inactive(file), SReclaimable and watermarks. It is implemented by the si_mem_available() function[1]. Can cgroup memory subsystem provide estimated available memory?


/proc/meminfo:
MemTotal:       63793888 kB
MemFree:        21124704 kB
MemAvailable:   39106088 kB


[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20221008/4e1c1cf7/attachment.html>


More information about the Kernelnewbies mailing list