[RFC PATCH] kernel: kmod-zram: break the strict dependency from lz4

2020-06-25 Thread Rui Salvaterra
Zram is only strictly dependent on lzo, not lz4. Break this dependency and make the lz4 module visible in the configuration, in order for the user to have the choice of enabling/disabling it, if (s)he sees fit. Signed-off-by: Rui Salvaterra --- package/kernel/linux/modules/lib.mk | 1 - packag

Re: [PATCH] zram-swap: enable swap discard

2020-06-25 Thread Rui Salvaterra
Hi, Emil, On Thu, 25 Jun 2020 at 13:57, Emil Muratov wrote: > > Could you, please, describe you test case scenarios and measurements > where you've hit memory waste for zram dev when swap shrinks? I don't have a specific procedure to test this, but I believe I showed you proof that it's a good i

Re: [PATCH] zram-swap: enable swap discard

2020-06-25 Thread Rui Salvaterra
Hi, Emil, On Thu, 25 Jun 2020 at 10:05, Emil Muratov wrote: > > Hmm... that looks weird at first, > I was checking kernel counters at /sys/block/zram0/io_stat, > which is zram device for swap. And if there was positive counter for > discards for zram device while swap was not sending any discards

[no subject]

2020-06-25 Thread Emil Muratov via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi Rui, no, of cource I mean not

[no subject]

2020-06-25 Thread Emil Muratov via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hmm... that looks weird at first