diff options
| author | Junil Lee <[email protected]> | 2017-06-08 04:18:09 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2017-06-09 20:13:50 +0000 |
| commit | b4958c892e02241b9bd121f3397b76225ff6f4a3 (patch) | |
| tree | e471fff24bbfa77f27596102f1be03c9dde77988 /drivers/fpga/fpga-mgr.c | |
| parent | selinux: use pernet operations for hook registration (diff) | |
| download | kernel-b4958c892e02241b9bd121f3397b76225ff6f4a3.tar.gz kernel-b4958c892e02241b9bd121f3397b76225ff6f4a3.zip | |
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: Junil Lee <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
