summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb_vmemmap.c
diff options
context:
space:
mode:
authorChengming Zhou <zhouchengming@bytedance.com>2023-12-28 09:45:43 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-12-29 11:58:28 -0800
commit32acba4c04830487ca3002d716325e02069e053a (patch)
treea66b54b5a2eefc6e29fb4f66573021f9ded36fed /mm/hugetlb_vmemmap.c
parentc75f5c1e0f1d231278f42123ee46ba6c0e2b6a96 (diff)
downloadlinux-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/hugetlb_vmemmap.c')
0 files changed, 0 insertions, 0 deletions