]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/apic: Inline __x2apic_send_IPI_dest()
authorEric Dumazet <edumazet@google.com>
Tue, 23 Dec 2025 05:20:26 +0000 (05:20 +0000)
committerThomas Gleixner <tglx@kernel.org>
Mon, 26 Jan 2026 15:25:18 +0000 (16:25 +0100)
commit9bad74127f0ae8eeed2510fe381b064e08e6507e
treed94326e79d8241cf54eb14f0f686a8a5226bd5e4
parent63804fed149a6750ffd28610c5c1c98cce6bd377
x86/apic: Inline __x2apic_send_IPI_dest()

Avoid one call/ret in networking RPS/RFS fast path, with no space cost.

scripts/bloat-o-meter -t vmlinux.before vmlinux.after
add/remove: 0/2 grow/shrink: 2/0 up/down: 96/-97 (-1)
Function                                     old     new   delta
x2apic_send_IPI                              146     198     +52
__x2apic_send_IPI_mask                       326     370     +44
__pfx___x2apic_send_IPI_dest                  16       -     -16
__x2apic_send_IPI_dest                        81       -     -81
Total: Before=20861234, After=20861233, chg -0.00%

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20251223052026.4141498-1-edumazet@google.com
arch/x86/kernel/apic/local.h
arch/x86/kernel/apic/x2apic_phys.c