diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-11-17 16:14:45 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 16:51:42 -0800 |
| commit | b6fd410c32f1a66a52a42d6aae1ab7b011b74547 (patch) | |
| tree | b8b077c1990db89e88978c6734042b547feb3f48 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f7092393570f24865199d1642eb097f9e1c8f01e (diff) | |
memory-failure: use a folio in me_huge_page()
This function was already explicitly calling compound_head();
unfortunately the compiler can't know that and elide the redundant calls
to compound_head() buried in page_mapping(), unlock_page(), etc. Switch
to using a folio, which does let us elide these calls.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions