[patch V5 10/12] futex: Convert to get/put_user_inline()
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Wed Oct 29 01:24:44 AEDT 2025
On 2025-10-27 04:44, Thomas Gleixner wrote:
> From: Thomas Gleixner <tglx at linutronix.de>
>
> Replace the open coded implementation with the new get/put_user_inline()
> helpers. This might be replaced by a regular get/put_user(), but that needs
> a proper performance evaluation.
I understand that this is aiming to keep the same underlying code,
but I find it surprising that the first user of the "inline" get/put
user puts the burden of the proof on moving this to regular
get/put_user() rather than on using the inlined version.
The comment above the inline API clearly states that performance
numbers are needed to justify the use of inline, not the opposite.
I am concerned that this creates a precedent that may be used by future
users of the inline API to use it without performance numbers
justification.
Thanks,
Mathieu
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com
More information about the Linuxppc-dev
mailing list