Re: [PATCHv7 16/18] mm: Remove the branch from compound_head()

patchwork-bot+linux-riscv
2026-04-30T03:25:57Z

Hello:

This patch was applied to riscv/linux.git (fixes)
by Andrew Morton <akpm@linux-foundation.org>:

On Fri, 27 Feb 2026 19:30:17 +0000 you wrote:
> From: Kiryl Shutsemau <kas@kernel.org>
>
> The compound_head() function is a hot path. For example, the zap path
> calls it for every leaf page table entry.
>
> Rewrite the helper function in a branchless manner to eliminate the risk
> of CPU branch misprediction.
>
> [...]

Here is the summary with links:
- [PATCHv7,16/18] mm: Remove the branch from compound_head()
https://git.kernel.org/riscv/c/66b2a3d9ae46

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.