Re: [PATCH] LANDLOCK: use kmem_cache for landlock_object
Dan Carpenter <[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 | <[email protected]> |
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