diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-02-27 20:42:51 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-03-05 04:01:26 +0300 |
commit | d4111eecdc3c2a5eabafcc467dbfce0e216fa485 (patch) | |
tree | 335d25a0f6f290d9f1adbfca17b58f9a9bac6989 /tools/rcu | |
parent | 4907e80b76af004b6af42f0d4131e23ac73bc07c (diff) | |
download | linux-d4111eecdc3c2a5eabafcc467dbfce0e216fa485.tar.xz |
mm: use a folio in __collapse_huge_page_copy_succeeded()
These pages are all chained together through the lru list, so we know
they're folios. Use the folio APIs to save three hidden calls to
compound_head().
Link: https://lkml.kernel.org/r/20240227174254.710559-18-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/rcu')
0 files changed, 0 insertions, 0 deletions