lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175854396942.3145289.6573440532585531587.b4-ty@kernel.org>
Date: Mon, 22 Sep 2025 14:14:49 +0100
From: Will Deacon <will@...nel.org>
To: catalin.marinas@....com,
	Can Peng <pengcan@...inos.cn>
Cc: kernel-team@...roid.com,
	Will Deacon <will@...nel.org>,
	linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] arm/syscalls: mark syscall invocation as likely in invoke_syscall

On Fri, 19 Sep 2025 18:00:42 +0800, Can Peng wrote:
> 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.
> 
> [...]

Applied to arm64 (for-next/entry), thanks!

[1/1] arm/syscalls: mark syscall invocation as likely in invoke_syscall
      https://git.kernel.org/arm64/c/da9e5c04be58

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ