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 | <ZgYkEghv7lFK4K4+@ayush-HP-Pavilion-Gaming-Laptop-15-ec0xxx> |
On Thu, Mar 28, 2024 at 09:39:14AM +0300, Dan Carpenter 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. > > > > Signed-off-by: Ayush Tiwari <[email protected]> > > 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 > Hello Apologies for the errors. I am working on a newer version, instilling all the corrections. Thanks for the feedback.