Re: [PATCH v1 3/3] zram: introduce crypto-api backend
From: Christoph Hellwig
Date: Tue Nov 19 2024 - 08:08:59 EST
On Tue, Nov 19, 2024 at 01:04:44PM +0000, Alexey Romanov wrote:
> Should I create backend_*.c file for every compression algo driver?
No.
> Okay, there aren't many of them now. But what will do, for example,
> when there will be 250 such compression drivers?
Why would there?
>
> And also your approach doesn't allow working with loadable modules.
> For example, we may have only binary module (without sources) from
> vendor SDK that provieds a driver for data compression.
Well, maybe just piss off instead of sneaking in hooks for your
illegal binary modules.