Sometimes we need to get the ram size of the container the current
process belongs to and we cannot open the memory cgroup by name as we
usually do (e.g. see ub_dirty_limits). This patch adds a function for
this purpose, mem_cgroup_ram_pages.
In this function we implicitly assume that each contain
Kirill, please review the patch set.
--
Best regards,
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
On 05/21/2015 06:27 PM, Vladimir Davydov wrote:
> Sometimes we need to get the ram size of the container the current
> process belongs to and we cannot open the memory cgroup by name as we
> us
В Чт, 21/05/2015 в 18:27 +0300, Vladimir Davydov пишет:
> Sometimes we need to get the ram size of the container the current
> process belongs to and we cannot open the memory cgroup by name as we
> usually do (e.g. see ub_dirty_limits). This patch adds a function for
> this purpose, mem_cgroup_ram