aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2024-01-29 20:36:47 -0500
committerAndrew Morton <[email protected]>2024-02-22 10:24:43 -0800
commit39f3ec8eaa6065873e592857627f18ae17b6c878 (patch)
treef3251681b94168c096a9baefd7e7b7cd400fa82e /tools/perf/scripts/python/bin
parenta984649b5c1f34103638a960b255bd695c2a9445 (diff)
mm: zswap: function ordering: pool refcounting
Move pool refcounting functions into the pool section. First the destroy functions, then the get and put which uses them. __zswap_pool_empty() has an upward reference to the global zswap_pools, to sanity check it's not the currently active pool that's being freed. That gets the forward decl for zswap_pool_current(). This puts the get and put function above all callers, so kill the forward decls as well. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Johannes Weiner <[email protected]> Reviewed-by: Nhat Pham <[email protected]> Cc: Chengming Zhou <[email protected]> Cc: Yosry Ahmed <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions