diff options
| author | 2022-06-17 18:50:11 +0100 | |
|---|---|---|
| committer | 2022-07-03 18:08:47 -0700 | |
| commit | ab5e653ee810024a1e170c75f973a252053f7467 (patch) | |
| tree | 1fae60344092d14bf07d652dc51fc2675ea8afa9 /include/linux | |
| parent | mm/swap: convert try_to_free_swap to use a folio (diff) | |
mm/swap: convert release_pages to use a folio internally
This function was already calling compound_head(), but now it can
cache the result of calling compound_head() and avoid calling it again.
Saves 299 bytes of text by avoiding various calls to compound_page()
and avoiding checks of PageTail.
Link: https://lkml.kernel.org/r/20220617175020.717127-14-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
