diff options
| author | Stephen Smalley <[email protected]> | 2015-03-24 20:54:18 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2015-04-07 00:16:23 +0000 |
| commit | cf7b6c0205f11cdb015384244c0b423b00e35c69 (patch) | |
| tree | 90b5a4d156b9a70d3437cb057a11928465795e4a /net/unix/af_unix.c | |
| parent | selinux: Use a better hash function for avtab (diff) | |
| download | kernel-cf7b6c0205f11cdb015384244c0b423b00e35c69.tar.gz kernel-cf7b6c0205f11cdb015384244c0b423b00e35c69.zip | |
selinux: increase avtab max buckets
Now that we can safely increase the avtab max buckets without
triggering high order allocations and have a hash function that
will make better use of the larger number of buckets, increase
the max buckets to 2^16.
Original:
101421 entries and 2048/2048 buckets used, longest chain length 374
With new hash function:
101421 entries and 2048/2048 buckets used, longest chain length 81
With increased max buckets:
101421 entries and 31078/32768 buckets used, longest chain length 12
Signed-off-by: Stephen Smalley <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
