diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-01-05 23:12:33 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-01-08 16:24:27 -0500 |
commit | b197367ed1ba81b0d26f7e7f76f61731ac6e5842 (patch) | |
tree | efc5fa3e91a36fd1e4de2aecdc37a697e7867a4d /drivers/video/fbdev/geode/display_gx1.h | |
parent | 76319946f321e30872dd72af7de867cb26e7a373 (diff) |
selinux: Inode label revalidation performance fix
Commit 5d226df4 has introduced a performance regression of about
10% in the UnixBench pipe benchmark. It turns out that the call
to inode_security in selinux_file_permission can be moved below
the zero-mask test and that inode_security_revalidate can be
removed entirely, which brings us back to roughly the original
performance.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'drivers/video/fbdev/geode/display_gx1.h')
0 files changed, 0 insertions, 0 deletions