diff options
| author | Yosry Ahmed <[email protected]> | 2024-05-24 03:38:16 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-03 19:30:00 -0700 |
| commit | 5d19f5de673bdee5e711c85737dd5ce5d438d8a3 (patch) | |
| tree | 75f439ae08ef5dfa9de2cb1784fc5469f169796a /tools/perf/scripts/python | |
| parent | 906632843d00a4a42072b19c423b30a9e7adef3c (diff) | |
mm: zswap: use sg_set_folio() in zswap_{compress/decompress}()
Patch series "mm: zswap: trivial folio conversions".
Some trivial folio conversions in zswap code.
This patch (of 3):
sg_set_folio() is equivalent to sg_set_page() for order-0 folios, which
are the only ones supported by zswap. Now zswap_decompress() can take in
a folio directly.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yosry Ahmed <[email protected]>
Reviewed-by: Chengming Zhou <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Nhat Pham <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions