All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Smalley <sds@tycho.nsa.gov>
To: John Brooks <john.brooks@jolla.com>, selinux@tycho.nsa.gov
Subject: Re: [PATCH v2 0/3] Improve check_assertions performance through hash tweaks
Date: Thu, 15 Jan 2015 13:56:59 -0500	[thread overview]
Message-ID: <54B80D7B.30003@tycho.nsa.gov> (raw)
In-Reply-To: <1421281443-4905-1-git-send-email-john.brooks@jolla.com>

On 01/14/2015 07:24 PM, John Brooks wrote:
> 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(-)

Thanks, all three patches applied.

      parent reply	other threads:[~2015-01-15 18:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-07 22:03 [PATCH 0/3] Improve check_assertions performance through hash tweaks John Brooks
2015-01-07 22:03 ` [PATCH 1/3] Build libsepol with -O2 John Brooks
2015-01-12 17:01   ` Stephen Smalley
2015-01-07 22:03 ` [PATCH 2/3] Use a better hash function for libsepol's avtab John Brooks
2015-01-12 17:30   ` Stephen Smalley
2015-01-13  1:38     ` John Brooks
2015-01-13 13:53       ` Stephen Smalley
2015-01-07 22:03 ` [PATCH 3/3] Tweak avtab hash table parameters for better performance John Brooks
2015-01-12 17:47   ` Stephen Smalley
2015-01-12 17:55     ` Stephen Smalley
2015-01-12 20:07     ` Stephen Smalley
2015-01-13  1:25     ` John Brooks
2015-01-13 13:50       ` Stephen Smalley
2015-01-13 14:00         ` Stephen Smalley
2015-01-15  0:24 ` [PATCH v2 0/3] Improve check_assertions performance through hash tweaks John Brooks
2015-01-15  0:24   ` [PATCH v2 1/3] Build libsepol with -O2 John Brooks
2015-01-15  0:24   ` [PATCH v2 2/3] Use a better hash function for libsepol's avtab John Brooks
2015-01-15  0:24   ` [PATCH v2 3/3] Tweak avtab hash table parameters for better performance John Brooks
2015-01-15 18:56   ` Stephen Smalley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54B80D7B.30003@tycho.nsa.gov \
    --to=sds@tycho.nsa.gov \
    --cc=john.brooks@jolla.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.