Re: [PATCH] kernel: make zram honor available compressors when selecting the initial algo

2021-12-02 Thread Rui Salvaterra
Hi, Sven, On Thu, 2 Dec 2021 at 01:49, Sven Roederer wrote: > > I'm trying to make a as small as possible kernel (to safe RAM / flash). As I'm > already using the lzo-module I like to avoid to include both and keep the > choice to select any combination of them. I wholeheartedly agree with the

Re: [PATCH] kernel: make zram honor available compressors when selecting the initial algo

2021-12-01 Thread Sven Roederer
Am Mittwoch, 1. Dezember 2021, 12:47:57 CET schrieb Rui Salvaterra: > Hi, Sven, > > [patch snipped] > > Why not just include the lzo-lre module in the lzo module package? We > already agreed they're basically inseparable. In fact, I remember I > had sent a patch [1] a while ago, in order to do

Re: [PATCH] kernel: make zram honor available compressors when selecting the initial algo

2021-12-01 Thread Rui Salvaterra
Hi, Sven, [patch snipped] Why not just include the lzo-lre module in the lzo module package? We already agreed they're basically inseparable. In fact, I remember I had sent a patch [1] a while ago, in order to do just that. Thanks, Rui [1]

[PATCH] kernel: make zram honor available compressors when selecting the initial algo

2021-11-30 Thread Sven Roederer
When initializing the ZRAM it has a hardcoded default of "lzo-rle" compressor. This compressor is not available in OpenWrt as only "lzo" is provided. The current behaviour make the PROCD_ZRAM_TMPFS feature failing, as procd-init is relying on the kernels default-algo, which is not present. So