Messages in this thread | | | Date | Wed, 28 Oct 2020 17:16:35 -0700 | From | Roman Gushchin <> | Subject | Re: [PATCH v2] mm: memcg/slab: Fix return child memcg objcg for root memcg |
| |
On Wed, Oct 28, 2020 at 11:50:10AM +0800, Muchun Song wrote: > Consider the following memcg hierarchy. > > root > / \ > A B > > If we get the objcg of memcg A failed, the get_obj_cgroup_from_current > can return the wrong objcg for the root memcg. > > Fixes: bf4f059954dc ("mm: memcg/slab: obj_cgroup API") > Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Acked-by: Roman Gushchin <guro@fb.com>
Thanks!
| |