From: Al Viro Date: Sun, 19 Apr 2015 11:48:53 +0000 (-0400) Subject: uninline walk_component() X-Git-Tag: v4.2-rc1~180^2~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b128f31c028a28887c6659e90620727a319b16;p=thirdparty%2Fkernel%2Flinux.git uninline walk_component() seriously improves the stack *and* I-cache footprint... Signed-off-by: Al Viro --- diff --git a/fs/namei.c b/fs/namei.c index 7f20b40426dcb..a77f9ca2c3e75 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -1569,8 +1569,7 @@ static inline int should_follow_link(struct dentry *dentry, int follow) return unlikely(d_is_symlink(dentry)) ? follow : 0; } -static inline int walk_component(struct nameidata *nd, struct path *path, - int follow) +static int walk_component(struct nameidata *nd, struct path *path, int follow) { struct inode *inode; int err;