diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2020-12-06 23:04:57 -0500 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2021-09-27 09:27:29 -0400 |
| commit | 86d234cb0499c6466ccfc45f6501bc0cd4621c60 (patch) | |
| tree | d6fceb8463a3eab9b2aa803890a7cf3edc0f2c1f /tools/perf/scripts/python | |
| parent | b620f63358cd35c8e9084ee9fc460153f64714f6 (diff) | |
mm: Add folio_get()
If we know we have a folio, we can call folio_get() instead
of get_page() and save the overhead of calling compound_head().
No change to generated code.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Zi Yan <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Jeff Layton <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Reviewed-by: William Kucharski <[email protected]>
Reviewed-by: David Howells <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions