fs: mark lookup_slow() as noinline
Otherwise it gets inlined notably in walk_component(), which convinces the compiler to push/pop additional registers in the fast path to accomodate existence of the inlined version. Shortens the fast path of that routine from 87 to 71 bytes. Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Link: https://patch.msgid.link/20251119144930.2911698-1-mjguzik@gmail.com Signed-off-by: Christian Brauner <brauner@kernel.org>pull/1354/merge
parent
7c179096e7
commit
8d79ec9e7f
|
|
@ -1863,7 +1863,7 @@ again:
|
|||
return dentry;
|
||||
}
|
||||
|
||||
static struct dentry *lookup_slow(const struct qstr *name,
|
||||
static noinline struct dentry *lookup_slow(const struct qstr *name,
|
||||
struct dentry *dir,
|
||||
unsigned int flags)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue