From: Tomasz Stanislawski <t.stanislaws@samsung.com>
To: linux-security-module@vger.kernel.org
Cc: m.szyprowski@samsung.com, kyungmin.park@samsung.com,
r.krypa@samsung.com, linux-kernel@vger.kernel.org,
casey@schaufler-ca.com,
Tomasz Stanislawski <t.stanislaws@samsung.com>
Subject: [RFCv2] security: smack: add a hash table to quicken smk_find_entry()
Date: Tue, 11 Jun 2013 14:55:12 +0200 [thread overview]
Message-ID: <1370955313-3605-1-git-send-email-t.stanislaws@samsung.com> (raw)
Hi everyone,
I have updated the patch after Casey's review.
The fixes from the recent version are:
- update naming according to Casey's guidelines
- fix coding style issues
- use hlist interface instead of double-linked list to reduce memory
usage and to speed-up initialization
- drop Dan Bernstein hash function in favor of more standard full_name_hash
- adjust the number of hash slots basing on measurements
Regards,
Tomasz Stanislawski
Tomasz Stanislawski (1):
security: smack: add a hash table to quicken smk_find_entry()
security/smack/smack.h | 5 +++++
security/smack/smack_access.c | 30 +++++++++++++++++++++++++++---
security/smack/smack_lsm.c | 12 ++++++------
3 files changed, 38 insertions(+), 9 deletions(-)
--
1.7.9.5
next reply other threads:[~2013-06-11 12:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-11 12:55 Tomasz Stanislawski [this message]
2013-06-11 12:55 ` Tomasz Stanislawski
2013-06-12 5:11 ` Casey Schaufler
2013-06-12 13:40 ` Tomasz Stanislawski
2013-06-13 4:14 ` Casey Schaufler
2013-06-27 21:11 ` Casey Schaufler
2013-08-01 23:58 ` Casey Schaufler
2013-08-02 9:00 ` Tomasz Stanislawski
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=1370955313-3605-1-git-send-email-t.stanislaws@samsung.com \
--to=t.stanislaws@samsung.com \
--cc=casey@schaufler-ca.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=r.krypa@samsung.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®