Re: [PATCH 1/5] zram: do not autocorrect bad recompression parameters

From: Sergey Senozhatsky

Date: Mon Mar 02 2026 - 22:00:02 EST


Sorry for the delay.

On (26/02/28 12:05), Andrew Morton wrote:
> On Fri, 27 Feb 2026 17:21:07 +0900 Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> wrote:
> >
>
> A nice [0/N] overview would be appropriate for a 5-patch series, please.

Well... I couldn't come up with a nice overview, let me try.


The series is based on internal discussions. Minchan looked at
recompression recently and pointed out a few things that he thought
were confusing or unexpected/unintuitive, like the fact that zram
would autocorrect bad recompression priority parameter, or some
other assumptions that zram made. I couldn't explain why it was
like that, and just agreed that it was confusing. The final patch
in the series removes chained recompression, which also has some
unexpected behavior, so I just decided to simplify the code and
remove that feature.