Re: [PATCH v4] zram: Implement multi-page write-back

From: Sergey Senozhatsky

Date: Wed Nov 12 2025 - 21:04:10 EST


On (25/11/06 09:49), Yuwen Chen wrote:
> +
> +#define ZRAM_WB_REQ_CNT (32)
> +

How was this number chosen? Did you try lower/higher values?
I think we might want this to be runtime tunable via sysfs, e.g.
writeback_batch_size attr, with min value of 1.