diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2021-02-25 09:47:41 -0500 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2021-09-27 09:27:29 -0400 |
| commit | 889a3747b3b7661b089ba4eae081a3b6bb351a23 (patch) | |
| tree | f1021b5357fb6367b59ee681e72092d7e7f6230c /tools/perf/scripts/python/bin | |
| parent | d389a4a8115518e2cc232649b012b72113fe8b67 (diff) | |
mm/lru: Add folio LRU functions
Handle arbitrary-order folios being added to the LRU. By definition,
all pages being added to the LRU were already head or base pages, but
call page_folio() on them anyway to get the type right and avoid the
buried calls to compound_head().
Saves 783 bytes of kernel text; no functions grow.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Yu Zhao <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Howells <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions