Re: [PATCH] LANDLOCK: use kmem_cache for landlock_object
Ayush Tiwari <[email protected]>
| Newsgroups | dev.linux.lists.outreachy,dev.linux.lists.linux-staging,org.kernel.vger.linux-kernel,org.kernel.vger.linux-security-module |
|---|---|
| Message-ID | <ZgUi8G3q0DvtcIQH@ayush-HP-Pavilion-Gaming-Laptop-15-ec0xxx> |
On Thu, Mar 28, 2024 at 07:08:04AM +0100, Greg KH wrote: > 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 Hello Greg, Apologies for the errors. I will resend the patch with reason also for the changes I made. Earlier I didn't mention as I thought this patch is regarding an Issue from the Issues List. But will keep this in mind from now. Also, apologies for CC the staging mailing lists. I won't include it from next time if it's not needed. Thanks.