On Aug 27, 2024 ericsu@xxxxxxxxxxxxxxxxxxx wrote: > > Based on guidance in include/linux/slab.h, replace kmem_cache_create() > with KMEM_CACHE() for sources under security/selinux, to simply creation > of SLAB caches. > > Signed-off-by: Eric Suen <ericsu@xxxxxxxxxxxxxxxxxxx> > --- > security/selinux/avc.c | 16 ++++------------ > security/selinux/ss/avtab.c | 7 ++----- > security/selinux/ss/ebitmap.c | 4 +--- > security/selinux/ss/hashtab.c | 4 +--- > 4 files changed, 8 insertions(+), 23 deletions(-) Looks good to me, merged into selinux/dev, thanks Eric! -- paul-moore.com