summaryrefslogtreecommitdiff
path: root/mm/damon
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-08-24 15:13:24 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-10-04 10:32:31 -0700
commit04bbfd844b99c7c89a344236d3758e7a2d41572f (patch)
treec1d60e3886d8d8c1520ad511801dd131adce5ad9 /mm/damon
parent3ec145f9d01e799bc7e41277e571141546b850f3 (diff)
hugetlb: remove a few calls to page_folio()
Anything found on a linked list threaded through ->lru is guaranteed to be a folio as the compound_head found in a tail page overlaps the ->lru member of struct page. So we can pull folios directly off these lists no matter whether pages or folios were added to the list. Link: https://lkml.kernel.org/r/20230824141325.2704553-3-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/damon')
0 files changed, 0 insertions, 0 deletions