diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2024-01-30 04:36:46 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-22 21:24:43 +0300 |
commit | a984649b5c1f34103638a960b255bd695c2a9445 (patch) | |
tree | b1da0beb97375884c11d926b79428a4c5fe65081 /include/xen | |
parent | 06ed22890cf9749b0e45d59c5cdc6e46dbd7339d (diff) | |
download | linux-a984649b5c1f34103638a960b255bd695c2a9445.tar.xz |
mm: zswap: function ordering: pool alloc & free
The function ordering in zswap.c is a little chaotic, which requires
jumping in unexpected directions when following related code. This is
a series of patches that brings the file into the following order:
- pool functions
- lru functions
- rbtree functions
- zswap entry functions
- compression/backend functions
- writeback & shrinking functions
- store, load, invalidate, swapon, swapoff
- debugfs
- init
But it has to be split up such the moving still produces halfway
readable diffs.
In this patch, move pool allocation and freeing functions.
Link: https://lkml.kernel.org/r/20240130014208.565554-11-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Nhat Pham <nphamcs@gmail.com>
Cc: Chengming Zhou <zhouchengming@bytedance.com>
Cc: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions