[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z4Fqr6ADpW8pAE4F@casper.infradead.org>
Date: Fri, 10 Jan 2025 18:45:03 +0000
From: Matthew Wilcox <willy@...radead.org>
To: David Hildenbrand <david@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Andrew Morton <akpm@...ux-foundation.org>,
Muchun Song <muchun.song@...ux.dev>
Subject: Re: [PATCH v1 5/6] mm/hugetlb-cgroup: convert
hugetlb_cgroup_css_offline() to work on folios
On Fri, Jan 10, 2025 at 07:21:48PM +0100, David Hildenbrand wrote:
> Let's convert hugetlb_cgroup_css_offline() and
> hugetlb_cgroup_move_parent() to work on folios. hugepage_activelist
> contains folios, not pages.
>
> While at it, rename page_hcg simply to hcg, removing most of the "page"
> terminology.
>
> Signed-off-by: David Hildenbrand <david@...hat.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@...radead.org>
I might also note that this removes an unnecessary call to
compound_head().
Powered by blists - more mailing lists