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

From: patchwork-bot+linux-riscv

Date: Wed Apr 29 2026 - 23:30:01 EST


Hello:

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

On Fri, 27 Feb 2026 19:30:17 +0000 you wrote:
> From: Kiryl Shutsemau <kas@xxxxxxxxxx>
>
> 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.
https://korg.docs.kernel.org/patchwork/pwbot.html