Skip to content
Commit b4958c89 authored by Junil Lee's avatar Junil Lee Committed by Paul Moore
Browse files

selinux: use kmem_cache for ebitmap



The allocated size for each ebitmap_node is 192byte by kzalloc().
Then, ebitmap_node size is fixed, so it's possible to use only 144byte
for each object by kmem_cache_zalloc().
It can reduce some dynamic allocation size.

Signed-off-by: default avatarJunil Lee <junil0814.lee@lge.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 8e71bf75
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment