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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 5, 2025 at 11:25 AM Nhat Pham <nphamcs@xxxxxxxxx> 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.





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux