diff options
| author | Chengming Zhou <[email protected]> | 2024-02-08 02:32:54 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-20 22:20:49 +0000 |
| commit | 678e54d4bb9a4822f8ae99690ac131c5d490cdb1 (patch) | |
| tree | af6cc569936790f96e940bed6bbdd9e43da6f8cc /scripts/bpf_doc.py | |
| parent | lib/Kconfig.debug: TEST_IOV_ITER depends on MMU (diff) | |
| download | kernel-678e54d4bb9a4822f8ae99690ac131c5d490cdb1.tar.gz kernel-678e54d4bb9a4822f8ae99690ac131c5d490cdb1.zip | |
mm/zswap: invalidate duplicate entry when !zswap_enabled
We have to invalidate any duplicate entry even when !zswap_enabled since
zswap can be disabled anytime. If the folio store success before, then
got dirtied again but zswap disabled, we won't invalidate the old
duplicate entry in the zswap_store(). So later lru writeback may
overwrite the new data in swapfile.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 42c06a0e8ebe ("mm: kill frontswap")
Signed-off-by: Chengming Zhou <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Nhat Pham <[email protected]>
Cc: Yosry Ahmed <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
