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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240205160408.GI355@twin.jikos.cz>
Date: Mon, 5 Feb 2024 17:04:08 +0100
From: David Sterba <dsterba@...e.cz>
To: Kunwu Chan <chentao@...inos.cn>
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
	Johannes.Thumshirn@....com, dsterba@...e.cz,
	linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] btrfs: Simplify the allocation of slab caches in
 btrfs_delayed_inode_init

On Thu, Feb 01, 2024 at 04:44:06PM +0800, Kunwu Chan wrote:
> Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
> to simplify the creation of SLAB caches.
> Make the code cleaner and more readable.
> 
> Signed-off-by: Kunwu Chan <chentao@...inos.cn>
> ---
> Changes in v2:
>     - Update commit msg only, no functional changes

Please convert all kmem_cache_create calls where the KMEM_CACHE macro is
suitable, ie the cache name and the structure name match.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ