diff options
| author | Fan Ni <[email protected]> | 2025-04-25 00:16:51 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-05-13 06:50:38 +0000 |
| commit | 50dbe531291abfa4513c1283d66fad420c1fd299 (patch) | |
| tree | 75aeb0256deaf1191218b79a0e374460098be844 /mm/mm_init.c | |
| parent | mm/numa: remove unnecessary local variable in alloc_node_data() (diff) | |
| download | kernel-50dbe531291abfa4513c1283d66fad420c1fd299.tar.gz kernel-50dbe531291abfa4513c1283d66fad420c1fd299.zip | |
khugepaged: pass folio instead of head page to trace events
The trace functions trace_mm_collapse_huge_page_isolate() and
trace_mm_khugepaged_scan_pmd() each have a single user, which always
passes in the head page of a folio. Refactor both functions to take a
folio directly.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Fan Ni <[email protected]>
Reviewed-by: Nico Pache <[email protected]>
Reviewed-by: Davidlohr Bueso <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Reviewed-by: Yang Shi <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Adam Manzanares <[email protected]>
Cc: Luis Chamberalin <[email protected]>
Cc: Mariano Pache <[email protected]>
Cc: "Masami Hiramatsu (Google)" <[email protected]>
Cc: Steven Rostedt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions
