diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2026-07-28 05:25:33 +0000 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-07-28 13:07:14 +0200 |
| commit | 775e0f2284554e24855c4372faeb957a5e515337 (patch) | |
| tree | 784d682df8342d07473d1daaff53ba6607dc60ea /tools/perf/scripts/python | |
| parent | 051f5d223dfc1806e216f60e4b29c1bf35f5c2d3 (diff) | |
x86/runtime-const: Introduce runtime_const_mask_32()
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.
[ prateek: Broke off the x86 chunk, commit message. ]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260227161841.GH606826@noisy.programming.kicks-ass.net
Link: https://patch.msgid.link/20260728052540.4728-2-kprateek.nayak@amd.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
