Re: [PATCH v1 5/6] mm/hugetlb-cgroup: convert hugetlb_cgroup_css_offline() to work on folios

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

 



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@xxxxxxxxxx>

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

I might also note that this removes an unnecessary call to
compound_head().




[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