Commit 34b128f3 authored by Al Viro's avatar Al Viro

uninline walk_component()

seriously improves the stack *and* I-cache footprint...
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 37882db0
...@@ -1569,8 +1569,7 @@ static inline int should_follow_link(struct dentry *dentry, int follow) ...@@ -1569,8 +1569,7 @@ static inline int should_follow_link(struct dentry *dentry, int follow)
return unlikely(d_is_symlink(dentry)) ? follow : 0; return unlikely(d_is_symlink(dentry)) ? follow : 0;
} }
static inline int walk_component(struct nameidata *nd, struct path *path, static int walk_component(struct nameidata *nd, struct path *path, int follow)
int follow)
{ {
struct inode *inode; struct inode *inode;
int err; int err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment