diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2022-06-17 18:49:59 +0100 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-03 18:08:45 -0700 |
| commit | e3c4cebf3f9db8c9150eb1982da7e353d9938bed (patch) | |
| tree | d61a632c2aad724283bb56eb173cc4d9b8707b04 /tools/perf/scripts/python | |
| parent | a83f0551f49682c81444d682053d49f9dfcbe5fa (diff) | |
mm: add folios_put()
Patch series "Convert the swap code to be more folio-based".
There's still more to do with the swap code, but this reaps a lot of the
folio benefit. More than 4kB of kernel text saved (with the UEK7 kernel
config). I don't know how much that's going to translate into CPU
savings, but some of those compound_head() calls are on every page free,
so it should be noticable. It might even be noticable just from an
I-cache consumption perspective.
This patch (of 22):
This is just a wrapper around release_pages() for now. Place the
prototype in mm.h along with folio_put() and folio_put_refs().
Link: https://lkml.kernel.org/r/[email protected]
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