diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-11-06 20:14:48 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-11-20 13:43:57 -0800 |
| commit | e24f66e87bfbcd15a95336c30c2f131332855ba6 (patch) | |
| tree | 0eaf5d7636110798c0aceec6d67939c287de9309 /mm/debug.c | |
| parent | 135e541ae8f3f166453177f1a94a0ff1f86ce30f (diff) | |
hugetlb: optimise hugetlb_folio_init_tail_vmemmap()
Extract the zone number directly from the folio instead of using the
folio's zone number to look up the zone and asking the zone what its
number is.
Also we should use &folio->page instead of casting from folio to page
Link: https://lkml.kernel.org/r/20251106201452.2292631-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: David Hildenbrand <david@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions
