[PATCH] LANDLOCK: use kmem_cache for landlock_object

Dan Carpenter dan.carpenter at linaro.org
Thu Mar 28 06:39:14 UTC 2024


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 at gmail.com>

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




More information about the Linux-security-module-archive mailing list