[PATCH] LANDLOCK: use kmem_cache for landlock_object

Greg KH gregkh at linuxfoundation.org
Thu Mar 28 06:08:04 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.

This says what you do, but not why you want to do any of this.  Why is
this change needed?  What benifit does it bring?

And why did you cc: the staging mailing list?

thanks,

greg k-h



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