[PATCH V9 5/7] KVM: guest_memfd: Add slab-allocated inode cache

Shivank Garg shivankg at amd.com
Tue Jul 22 05:03:22 UTC 2025



On 7/21/2025 5:14 PM, Vlastimil Babka wrote:
>> +	kvm_gmem_inode_cachep = kmem_cache_create("kvm_gmem_inode_cache",
>> +						  sizeof(struct kvm_gmem_inode_info),
>> +						  0, SLAB_ACCOUNT,
>> +						  kvm_gmem_init_inode);
> Since this is new code, please use the new variant of kmem_cache_create()
> that takes the args parameter.

Thank you for the review and suggestion.
I'll update this in the next version.





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