lkml.org 
[lkml]   [2024]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/6] btrfs: Use KMEM_CACHE instead of kmem_cache_create
On Tue, Feb 20, 2024 at 05:06:39PM +0800, Kunwu Chan wrote:
> As David Sterba said in
> https://lore.kernel.org/all/20240205160408.GI355@twin.jikos.cz/
> I'm using a patchset to cleanup the same issues in the 'brtfs' module.
>
> For where the cache name and the structure name match.
> Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
> to simplify the creation of SLAB caches.
>
> Kunwu Chan (6):
> btrfs: Simplify the allocation of slab caches in
> btrfs_delayed_inode_init
> btrfs: Simplify the allocation of slab caches in ordered_data_init
> btrfs: Simplify the allocation of slab caches in
> btrfs_transaction_init
> btrfs: Simplify the allocation of slab caches in btrfs_ctree_init
> btrfs: Simplify the allocation of slab caches in
> btrfs_delayed_ref_init
> btrfs: Simplify the allocation of slab caches in btrfs_free_space_init

Added to for-next, thanks. I've edited the changels so the name of the
structure is mentioned rather than the function where it happens, and
did some minor formatting adjustments.

\
 
 \ /
  Last update: 2024-05-27 15:14    [W:0.066 / U:1.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site