Re: btrfs: Simplify the allocation of slab caches in btrfs_delayed_inode_init

From: Markus Elfring
Date: Thu Feb 01 2024 - 07:09:08 EST



> So i'll update the commit msg to this:
>
> 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.


* Please replace the word “new” by a reference to the commit 8eb8284b412906181357c2b0110d879d5af95e52
("usercopy: Prepare for usercopy whitelisting").

See also related background information from 2017-06-10.

* How does your response fit to the repetition of improvable change descriptions?

Example:
[PATCH] btrfs: Simplify the allocation of slab caches in btrfs_transaction_init
https://lore.kernel.org/lkml/20240201093554.208092-1-chentao@xxxxxxxxxx/
https://lkml.org/lkml/2024/2/1/387

* How do you think about to group similar source code transformations
into patch series?


Regards,
Markus