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

Sergey Senozhatsky
2025-11-13T02:04:10Z

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.