Re: [PATCH 1/1] block: use KMEM_CACHE instead of kmem_cache_create

From: Christoph Hellwig
Date: Tue Sep 02 2025 - 01:37:39 EST


On Tue, Sep 02, 2025 at 11:32:41AM +0800, Longlong Xia wrote:
> Use KMEM_CACHE() instead of kmem_cache_create() to simplify the code.

I don't see that this simplifies anything. The only thing it does
is to add yet another magic macros that needs to be followed and it
adds and overly long line.

What problem are you trying to solve with this patch?