diff options
| author | Yosry Ahmed <yosryahmed@google.com> | 2024-04-13 02:24:05 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-05-05 17:53:37 -0700 |
| commit | 82e0f8e47b406bb5948c2300a02ac6ede21532c1 (patch) | |
| tree | 1f38bb9ba2ce7f34ea7f9621e6aa420b49d128c4 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 4ea3fa9dd2e9c58920d73b1b2cd6bcc6f14ae0e0 (diff) | |
mm: zswap: refactor limit checking from zswap_store()
Refactor limit and acceptance threshold checking outside of zswap_store().
This code will be moved around in a following patch, so it would be
cleaner to move a function call around.
Link: https://lkml.kernel.org/r/20240413022407.785696-3-yosryahmed@google.com
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Reviewed-by: Nhat Pham <nphamcs@gmail.com>
Cc: Chengming Zhou <chengming.zhou@linux.dev>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Maciej S. Szmigiero" <mail@maciej.szmigiero.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
