Thread (14 messages) 14 messages, 5 authors, 2025-08-07

Re: [RFC PATCH v2] mm/zswap: store <PAGE_SIZE compression failed page as-is

From: Nhat Pham <nphamcs@gmail.com>
Date: 2025-08-05 18:31:40
Also in: linux-mm, lkml

On Tue, Aug 5, 2025 at 11:25 AM Nhat Pham [off-list ref] wrote:
1. At store time, if comp_ret or dlen == PAGE_SIZE, treat it as
compression failure. This means: saving as-is when writeback enabled,
and rejecting when writeback disabled. Basically:

if (!comp_ret || dlen == PAGE_SIZE) {
Again, comp_ret || dlen == PAGE_SIZE here. Not sure why I kept making
the same brainfart, lol.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help