]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs: mark lookup_slow() as noinline
authorMateusz Guzik <mjguzik@gmail.com>
Wed, 19 Nov 2025 14:49:30 +0000 (15:49 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 25 Nov 2025 09:04:38 +0000 (10:04 +0100)
commit8d79ec9e7f634e10c6cdc7f3999023bd988df1ad
treeb2ff4e358a4d89590d075d596c1322af964789b7
parent7c179096e77eca210caf43abfcf3e556030fea3b
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>
fs/namei.c