linux-stable/security/smack
Casey Schaufler 2f823ff8be Smack: Improve access check performance
Each Smack label that the kernel has seen is added to a
list of labels. The list of access rules for a given subject
label hangs off of the label list entry for the label.
This patch changes the structures that contain subject
labels to point at the label list entry rather that the
label itself. Doing so removes a label list lookup in
smk_access() that was accounting for the largest single
chunk of Smack overhead.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
2013-05-28 10:08:32 -07:00
..
Kconfig Smack: use select not depends in Kconfig 2012-12-14 10:57:10 -08:00
Makefile
smack.h Smack: Improve access check performance 2013-05-28 10:08:32 -07:00
smack_access.c Smack: Improve access check performance 2013-05-28 10:08:32 -07:00
smack_lsm.c Smack: Improve access check performance 2013-05-28 10:08:32 -07:00
smackfs.c Smack: Improve access check performance 2013-05-28 10:08:32 -07:00