diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-07-15 05:23:40 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-21 13:37:26 -0700 |
| commit | 34f4c198bfbe86612c368eb122002787acecaa93 (patch) | |
| tree | 8960b9d5118a738e5dac62b632e68f5266b1d807 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 42c06a0e8ebe95b81e5fb41c6556ff22d9255b0c (diff) | |
zswap: make zswap_store() take a folio
Patch series "Followup folio conversions for zswap".
With frontswap killed, it's worth converting the zswap_load() and
zswap_store() functions to take a folio instead of a page pointer. They
aren't converted to support large folios, but there are a lot of
unnecessary calls to compound_head() that are removed by these patches.
This patch (of 4):
Only convert a few easy parts of this function to use the folio passed in;
convert back to struct page for the majority of it. This does remove a
few hidden calls to compound_head().
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Domenico Cerasuolo <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Nhat Pham <[email protected]>
Cc: Vitaly Wool <[email protected]>
Cc: Yosry Ahmed <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions