Re: [PATCH] memcg: Removed duplication detection for mem_cgroup_uncharge_swap

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

 



On Sat, Aug 19, 2023 at 1:14 AM Lu Jialin <lujialin4@xxxxxxxxxx> wrote:
>
> __mem_cgroup_uncharge_swap is only called in mem_cgroup_uncharge_swap,
> if mem cgroup is disabled, __mem_cgroup_uncharge_swap cannot be called.
> Therefore, there is no need to judge whether mem_cgroup is disabled or
> not.
>
> Signed-off-by: Lu Jialin <lujialin4@xxxxxxxxxx>

Acked-by: Shakeel Butt <shakeelb@xxxxxxxxxx>




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

  Powered by Linux