diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2022-09-02 20:45:59 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-10-03 14:02:44 -0700 |
| commit | c3a15bff46cb5149aeae4c8ae69443d791fa6578 (patch) | |
| tree | c19fc91cfc9daf06572af7b2950b573ec10bc3fd /tools/perf/scripts/python | |
| parent | 379708ffde1b049bc41084e0a0572c44c8a1d2c4 (diff) | |
mm: reimplement folio_order() and folio_nr_pages()
Instead of calling compound_order() and compound_nr_pages(), use the folio
directly. Saves 1905 bytes from mm/filemap.o due to folio_test_large()
now being a cheaper check than PageHead().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions