diff options
| author | Mateusz Guzik <mjguzik@gmail.com> | 2025-11-10 10:56:34 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-12 12:19:09 +0100 |
| commit | 9eda581bfe8a1774390dd66f365a2e00a9d27a41 (patch) | |
| tree | d46caac5be98e09bf08634e6357cef1a5cdabf34 /scripts/lib | |
| parent | 21b561dab1406e63740ebe240c7b69f19e1bcf58 (diff) | |
fs: move fd_install() slowpath into a dedicated routine and provide commentary
On stock kernel gcc 14 emits avoidable register spillage:
endbr64
call ffffffff81374630 <__fentry__>
push %r13
push %r12
push %rbx
sub $0x8,%rsp
[snip]
Total fast path is 99 bytes.
Moving the slowpath out avoids it and shortens the fast path to 74
bytes.
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://patch.msgid.link/20251110095634.1433061-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions
