Re: [tip: locking/urgent] futex: Optimize per-cpu reference counting

From: Shrikanth Hegde

Date: Thu Nov 06 2025 - 10:26:29 EST




On 11/6/25 5:10 PM, tip-bot2 for Peter Zijlstra wrote:
The following commit has been merged into the locking/urgent branch of tip:

Commit-ID: 4cb5ac2626b5704ed712ac1d46b9d89fdfc12c5d
Gitweb: https://git.kernel.org/tip/4cb5ac2626b5704ed712ac1d46b9d89fdfc12c5d
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
AuthorDate: Wed, 16 Jul 2025 16:29:46 +02:00
Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
CommitterDate: Thu, 06 Nov 2025 12:30:54 +01:00

futex: Optimize per-cpu reference counting

Shrikanth noted that the per-cpu reference counter was still some 10%
slower than the old immutable option (which removes the reference
counting entirely).


Thanks for picking it up.