Messages in this thread | | | From | Shakeel Butt <> | Date | Thu, 27 Aug 2020 14:10:26 -0700 | Subject | Re: [PATCH RFC 2/4] mm: kmem: remove redundant checks from get_obj_cgroup_from_current() |
| |
On Thu, Aug 27, 2020 at 10:52 AM Roman Gushchin <guro@fb.com> wrote: > > There are checks for current->mm and current->active_memcg > in get_obj_cgroup_from_current(), but these checks are redundant: > memcg_kmem_bypass() called just above performs same checks. > > Signed-off-by: Roman Gushchin <guro@fb.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
| |