[Devel] [PATCH vz7 0/5] ub statd: ported from rhel6

Vladimir Davydov vdavydov at virtuozzo.com
Thu Oct 1 04:17:18 PDT 2015


On Thu, Oct 01, 2015 at 01:47:35PM +0400, Stanislav Kinsburskiy wrote:
> This series fixes a bug, does some cleanup and headers tossing and re-enables
> ub statd system call support.
> 
> https://jira.sw.ru/browse/PSBM-29338
> 
> ---
> 
> Stanislav Kinsburskiy (5):
>       ub statd: fix new_notify structure allocation
>       ub statd: small optimisations and clean ups
>       ub statd: move struct ub_stat_notify declaration to source
>       ub statd: move header file from include/ to uapi/
>       ubstat: enable UB statd

All these patches look OK to me and they're worth applying, but they
don't actually fix the issue. The problem is that in Vz7 key memory
parameters (physpages, swappages, kmemsize, etc) reside in the memory
cgroup. Whenever we want to report them via the legacy UB API, we need
to fetch them from memcg (see ub_sync_memcg). Please prepare one more
patch that will insert calls to ub_sync_memcg() wherever appropriate.

Thanks.



More information about the Devel mailing list