Messages in this thread | ![/](/images/icornerl.gif) | | From | Shakeel Butt <> | Date | Thu, 27 Aug 2020 14:10:00 -0700 | Subject | Re: [PATCH RFC 1/4] mm: kmem: move memcg_kmem_bypass() calls to get_mem/obj_cgroup_from_current() |
| |
On Thu, Aug 27, 2020 at 10:52 AM Roman Gushchin <guro@fb.com> wrote: > > Currently memcg_kmem_bypass() is called before obtaining the current > memory/obj cgroup using get_mem/obj_cgroup_from_current(). Moving > memcg_kmem_bypass() into get_mem/obj_cgroup_from_current() reduces > the number of call sites and allows further code simplifications. > > Signed-off-by: Roman Gushchin <guro@fb.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
| ![\](/images/icornerr.gif) |