[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKEwX=MFF28pzxp7Cgjk_kDo-u3csG136paBxRc7hLTAVaksyg@mail.gmail.com>
Date: Fri, 13 Dec 2024 17:29:02 -0800
From: Nhat Pham <nphamcs@...il.com>
To: Joshua Hahn <joshua.hahnjy@...il.com>
Cc: shakeel.butt@...ux.dev, hannes@...xchg.org, mhocko@...nel.org,
roman.gushchin@...ux.dev, muchun.song@...ux.dev, akpm@...ux-foundation.org,
sj@...nel.org, cgroups@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, kernel-team@...a.com
Subject: Re: [v3 PATCH 2/3] memcg/hugetlb: Introduce mem_cgroup_charge_hugetlb
On Wed, Dec 11, 2024 at 12:40 PM Joshua Hahn <joshua.hahnjy@...il.com> wrote:
>
> This patch introduces mem_cgroup_charge_hugetlb which combines the logic
> of mem_cgroup_hugetlb_try_charge / mem_cgroup_hugetlb_commit_charge and
> removes the need for mem_cgroup_hugetlb_cancel_charge. It also reduces
> the footprint of memcg in hugetlb code and consolidates all memcg
> related error paths into one.
>
> Signed-off-by: Joshua Hahn <joshua.hahnjy@...il.com>
Thanks for simplifying my convoluted code ;)
Reviewed-by: Nhat Pham <nphamcs@...il.com>
Powered by blists - more mailing lists