diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-03-26 20:28:21 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 20:56:18 -0700 |
| commit | 4d30eac3744d195ac43fbc36117d1e5de447b1ca (patch) | |
| tree | 60cf4f1c667ef080899238d73f82b2c132376a0c /tools/perf/scripts/python/bin | |
| parent | 796c2c23e14e754b1b72bed450f03d6f69f29358 (diff) | |
sparc: use is_huge_zero_pmd()
Patch series "Convert huge_zero_page to huge_zero_folio".
Almost all the callers of is_huge_zero_page() already have a folio. And
they should -- is_huge_zero_page() will return false for tail pages, even
if they're tail pages of the huge zero page. That's confusing, and one of
the benefits of the folio conversion is to get rid of this confusion.
This patch (of 8):
There's no need to convert to a page, much less a folio. We can tell from
the pmd whether it is a huge zero page or not. Saves 60 bytes of text.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions