[PATCH v2 0/3] Improve check_assertions performance through hash tweaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Updated to not override environment with -O2, improved readability of the hash
implementation, and restored avtab_alloc's behavior of allocating a fraction of
the expected number of elements as buckets for better efficiency in small hashes.

John Brooks (3):
  Build libsepol with -O2
  Use a better hash function for libsepol's avtab
  Tweak avtab hash table parameters for better performance

 libsepol/include/sepol/policydb/avtab.h |  7 ++---
 libsepol/src/Makefile                   |  2 +-
 libsepol/src/avtab.c                    | 45 ++++++++++++++++++++++++++++-----
 3 files changed, 44 insertions(+), 10 deletions(-)

-- 
1.9.3

_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux