[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c3c6b650-6156-4ee4-89d0-2c8033ae26eb@kylinos.cn>
Date: Mon, 19 Feb 2024 17:00:13 +0800
From: Kunwu Chan <chentao@...inos.cn>
To: dsterba@...e.cz
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
Johannes.Thumshirn@....com, 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
Thanks for your reply.
On 2024/2/6 00:04, David Sterba wrote:
> 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.
I'll do this by a patch series.
--
Thanks,
Kunwu
Powered by blists - more mailing lists