diff options
author | Chengming Zhou <zhouchengming@bytedance.com> | 2023-12-28 09:45:43 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-29 11:58:28 -0800 |
commit | 32acba4c04830487ca3002d716325e02069e053a (patch) | |
tree | a66b54b5a2eefc6e29fb4f66573021f9ded36fed /mm/cma_debug.c | |
parent | c75f5c1e0f1d231278f42123ee46ba6c0e2b6a96 (diff) | |
download | linux-stable-32acba4c04830487ca3002d716325e02069e053a.tar.gz linux-stable-32acba4c04830487ca3002d716325e02069e053a.tar.bz2 linux-stable-32acba4c04830487ca3002d716325e02069e053a.zip |
mm/zswap: refactor out __zswap_load()
zswap_load() and zswap_writeback_entry() have the same part that
decompress the data from zswap_entry to page, so refactor out the common
part as __zswap_load(entry, page).
Link: https://lkml.kernel.org/r/20231213-zswap-dstmem-v5-2-9382162bbf05@bytedance.com
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Reviewed-by: Nhat Pham <nphamcs@gmail.com>
Reviewed-by: Yosry Ahmed <yosryahmed@google.com>
Acked-by: Chris Li <chrisl@kernel.org> (Google)
Cc: Barry Song <21cnbao@gmail.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/cma_debug.c')
0 files changed, 0 insertions, 0 deletions