diff options
author | David Hildenbrand <david@redhat.com> | 2025-01-13 14:16:10 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-26 05:22:42 +0100 |
commit | 3f982b9b18c23900da10956b91036a3f6fe3f5bc (patch) | |
tree | e3926089714867d9942578c3b94966742e1897e3 /io_uring | |
parent | mm/hugetlb: rename folio_putback_active_hugetlb() to folio_putback_hugetlb() (diff) | |
download | linux-3f982b9b18c23900da10956b91036a3f6fe3f5bc.tar.xz linux-3f982b9b18c23900da10956b91036a3f6fe3f5bc.zip |
mm/hugetlb-cgroup: convert hugetlb_cgroup_css_offline() to work on folios
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.
This removes an unnecessary call to compound_head().
Link: https://lkml.kernel.org/r/20250113131611.2554758-6-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions