lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aLaClbE6jmcnGN0a@infradead.org>
Date: Mon, 1 Sep 2025 22:37:25 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Longlong Xia <xialonglong@...inos.cn>
Cc: axboe@...nel.dk, linux-block@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] block: use KMEM_CACHE instead of kmem_cache_create

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?


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ