diff options
| author | Johannes Weiner <[email protected]> | 2023-07-27 12:22:24 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-21 13:37:28 -0700 |
| commit | 7310895779624a11153d74a2132f01be6e360b7c (patch) | |
| tree | 7552378271a332f192177e176fc80e4d7efb3711 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 56c67049c0ee135868e83ce36ac8d3e037e03f82 (diff) | |
mm: zswap: tighten up entry invalidation
Removing a zswap entry from the tree is tied to an explicit operation
that's supposed to drop the base reference: swap invalidation, exclusive
load, duplicate store. Don't silently remove the entry on final put, but
instead warn if an entry is in tree without reference.
While in that diff context, convert a BUG_ON to a WARN_ON_ONCE. No need
to crash on a refcount underflow.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Reviewed-by: Yosry Ahmed <[email protected]>
Cc: Barry Song <[email protected]>
Cc: Domenico Cerasuolo <[email protected]>
Cc: Nhat Pham <[email protected]>
Cc: Seth Jennings <[email protected]>
Cc: Vitaly Wool <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions