]> Pileus Git - ~andy/linux/commit
vfs: make gcc generate more obvious code for acl permission checking
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 02:55:52 +0000 (19:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 02:55:52 +0000 (19:55 -0700)
commit14067ff536286bd2f7f79d46337d2228b12ef880
tree74028825cc4562caf4c12cd96aebdce96aa6092c
parent750e06992d49666a7589aac555eb3bb68e4dbb88
vfs: make gcc generate more obvious code for acl permission checking

The "fsuid is the inode owner" case is not necessarily always the likely
case, but it's the case that doesn't do anything odd and that we want in
straight-line code.  Make gcc not generate random "jump around for the
fun of it" code.

This just helps me read profiles.  That thing is one of the hottest
parts of the whole pathname lookup.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c