Re: [PATCH] LANDLOCK: use kmem_cache for landlock_object
From: Dan Carpenter
Date: Thu Mar 28 2024 - 02:39:30 EST
On Thu, Mar 28, 2024 at 04:55:57AM +0530, Ayush Tiwari wrote:
> Use kmem_cache replace kzalloc() calls with kmem_cache_zalloc() for
> struct landlock_object and update the related dependencies.
>
> Signed-off-by: Ayush Tiwari <ayushtiw0110@xxxxxxxxx>
Is there some advantage to doing this? You need to re-write the commit
message to give us some clue why you are doing this.
regards,
dan carpenter