lkml.org 
[lkml]   [2022]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [RFC PATCH] memcg: adjust memcg for new cgroup allocations
    From
    On 8/17/22 12:17, Michal Koutný wrote:
    >> +static inline struct mem_cgroup *mem_cgroup_from_cgroup(struct cgroup *cgroup)
    > [...]
    >> + css = cgroup_get_e_css(cgroup, &memory_cgrp_subsys);
    >> +
    >> + if (css)
    >> + memcg = container_of(css, struct mem_cgroup, css);
    > Nit: mem_cgroup_from_css

    Yes, my fault, you are right.
    it was planned initially, but then I lost it somehow.

    Thank you very much!
    Vasily Averin

    \
     
     \ /
      Last update: 2022-08-17 17:05    [W:3.325 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site