diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2015-03-24 23:54:16 +0300 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-04-07 03:16:20 +0300 |
commit | ba39db6e0519aa8362dbda6523ceb69349a18dc3 (patch) | |
tree | 0111ac00baee2c56dafd947f989264fa798b2c72 /Documentation/block | |
parent | da8026fa0f9154b1c571c4d160dd51a7b8c34495 (diff) | |
download | linux-ba39db6e0519aa8362dbda6523ceb69349a18dc3.tar.xz |
selinux: convert avtab hash table to flex_array
Previously we shrank the avtab max hash buckets to avoid
high order memory allocations, but this causes avtab lookups to
degenerate to very long linear searches for the Fedora policy. Convert to
using a flex_array instead so that we can increase the buckets
without such limitations.
This change does not alter the max hash buckets; that is left to a
separate follow-on change.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions