diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2022-05-12 20:23:03 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-05-13 07:20:16 -0700 |
| commit | 0562457186752b6a65eeca9f5ed0fb9b1e2572e3 (patch) | |
| tree | e71971a2fd2827abc44a3557ee14e49b15ee359c /tools/perf/scripts/python | |
| parent | c28a0e9695b724fbaa58b1f5bbf0a03c5a79d721 (diff) | |
mm/shmem: use a folio in shmem_unused_huge_shrink
When calling split_huge_page() we usually have to find the precise page,
but that's not necessary here because we only need to unlock and put the
folio afterwards. Saves 231 bytes of text (20% of this function).
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions