[Devel] [PATCH rh7 0/4] ub: fix memcg resource accounting

Konstantin Khorenko khorenko at virtuozzo.com
Fri May 22 09:21:51 PDT 2015


Kirill, please review the patchset.

--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team

On 05/19/2015 05:31 PM, Vladimir Davydov wrote:
> UB_PHYSPAGES, UB_SWAPPAGES, UB_KMEMSIZE are now accounted on the memcg
> size. However, some stats differ between beancounters and memcg (e.g.
> failcnt). This patch set fixes them. For more details, see individual
> patches.
> 
> Related to https://jira.sw.ru/browse/PSBM-20089
> 
> Vladimir Davydov (4):
>   memcg: show correct swap max for beancounters
>   memcg: show correct mem/swap failcnt for beancounters
>   memcg: assure swap->held/maxheld < swap->limit for beancounters
>   ub: deprecate kmemsize limit
> 
>  kernel/bc/beancounter.c |    4 +--
>  mm/memcontrol.c         |   77 ++++++++++++++++++++++++++++++++++++-----------
>  2 files changed, 61 insertions(+), 20 deletions(-)
> 



More information about the Devel mailing list