Re: [PATCH v5 3/8] arm64/runtime-const: Introduce runtime_const_mask_32()
From: Charlie Jenkins
Date: Fri Jul 10 2026 - 03:54:12 EST
On Tue, 30 Jun 2026 04:55:26 +0000, K Prateek Nayak <kprateek.nayak@xxxxxxx> wrote:
> Futex hash computation requires a mask operation with read-only after
> init data that will be converted to a runtime constant in the subsequent
> commit.
>
> Introduce runtime_const_mask_32 to further optimize the mask operation
> in the futex hash computation hot path. Since all the current use-cases
> are of the form GENMASK(n, 0), with n > 0, a single:
>
> [...]
Reviewed-by: Charlie Jenkins <thecharlesjenkins@xxxxxxxxx>
Tested-by: Charlie Jenkins <thecharlesjenkins@xxxxxxxxx>
--
- Charlie