mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
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>
This commit is contained in:
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…
x
Reference in New Issue
Block a user