mm: zswap: function ordering: move entry section out of tree section
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 30 Jan 2024 01:36:52 +0000 (20:36 -0500)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 22 Feb 2024 18:24:44 +0000 (10:24 -0800)
commit36034bf6fcdb1281e3f8db27d68b6516a3aed4c7
treef30763d40d854c9d6c5e2ad8ca7cf89538cb946f
parent5182661a11baeda74a547660b11570f5b5124eaf
mm: zswap: function ordering: move entry section out of tree section

The higher-level entry operations modify the tree, so move the entry
API after the tree section.

Link: https://lkml.kernel.org/r/20240130014208.565554-17-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>
mm/zswap.c