aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2023-08-24 15:13:24 +0100
committerAndrew Morton <[email protected]>2023-10-04 10:32:31 -0700
commit04bbfd844b99c7c89a344236d3758e7a2d41572f (patch)
treec1d60e3886d8d8c1520ad511801dd131adce5ad9 /include/linux/overflow.h
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/[email protected] Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Mike Kravetz <[email protected]> Reviewed-by: Muchun Song <[email protected]> Cc: Sidhartha Kumar <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions