lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 5 Oct 2021 18:15:52 -0700
From:   Roman Gushchin <>
To:     Waiman Long <>
CC:     Johannes Weiner <>,
        Michal Hocko <>,
        Vladimir Davydov <>,
        Andrew Morton <>,
        Vlastimil Babka <>,
        <>, <>,
        <>, Shakeel Butt <>,
        Muchun Song <>
Subject: Re: [PATCH v2] mm/memcg: Remove obsolete memcg_free_kmem()

On Tue, Oct 05, 2021 at 04:24:50PM -0400, Waiman Long wrote:
> Since commit d648bcc7fe65 ("mm: kmem: make memcg_kmem_enabled()
> irreversible"), the only thing memcg_free_kmem() does is to call
> memcg_offline_kmem() when the memcg is still online which can happen when
> online_css() fails due to -ENOMEM. However, the name memcg_free_kmem()
> is confusing and it is more clear and straight forward to call
> memcg_offline_kmem() directly from mem_cgroup_css_free().
> Suggested-by: Roman Gushchin <>
> Signed-off-by: Waiman Long <>

Reviewed-by: Roman Gushchin <>

Thanks, Waiman!

Powered by blists - more mailing lists