Re: [PATCH RFC 1/4] mm: kmem: move memcg_kmem_bypass() calls to get_mem/obj_cgroup_from_current()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 27, 2020 at 10:52 AM Roman Gushchin <guro@xxxxxx> 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@xxxxxx>

Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux