summaryrefslogtreecommitdiff
path: root/fs/nls
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2013-05-23 01:43:03 (GMT)
committerCasey Schaufler <casey@schaufler-ca.com>2013-05-28 17:08:32 (GMT)
commit2f823ff8bec03a1e6f9e11fd0c4d54e4c7d09532 (patch)
tree8ba448a6cc7b5cdc4d173390721eda3f83a3e012 /fs/nls
parentc673944347edfd4362b10eea11ac384a582b1cf5 (diff)
downloadlinux-fsl-qoriq-2f823ff8bec03a1e6f9e11fd0c4d54e4c7d09532.tar.xz
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>
Diffstat (limited to 'fs/nls')
0 files changed, 0 insertions, 0 deletions