summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorCan Peng <pengcan@kylinos.cn>2025-09-19 18:00:42 +0800
committerWill Deacon <will@kernel.org>2025-09-22 13:26:16 +0100
commitda9e5c04be589524101aac31746902b6803581e4 (patch)
tree50872b7e839e3f43fe1dff01f608f100e9b03e5a /lib/mpi/mpi-mod.c
parentb3cf07851b6c4aa8683557905cd898da9ae8c634 (diff)
arm/syscalls: mark syscall invocation as likely in invoke_syscall
The invoke_syscall() function is overwhelmingly called for valid system call entries. Annotate the main path with likely() to help the compiler generate better branch prediction hints, reducing CPU pipeline stalls due to mispredictions. This is a micro-optimization targeting syscall-heavy workloads [1]. Link: https://lore.kernel.org/r/20250922121730.986761-1-pengcan@kylinos.cn [1] Signed-off-by: Can Peng <pengcan@kylinos.cn> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions