]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc/futex: Use masked user access
authorChristophe Leroy (CS GROUP) <chleroy@kernel.org>
Tue, 10 Mar 2026 09:59:58 +0000 (10:59 +0100)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Wed, 1 Apr 2026 03:51:06 +0000 (09:21 +0530)
commit40a1b9d044c7dbbc2976f0432e32dc57d4896b00
tree4d728e574893875b9c1b098d19c2a557b95bee5c
parentf26ad12356a275ab303d5d3af4790ad94acc20d7
powerpc/futex: Use masked user access

Commit 861574d51bbd ("powerpc/uaccess: Implement masked user access")
provides optimised user access by avoiding the cost of access_ok().

Use masked user access in arch_futex_atomic_op_inuser()

Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/e29f6a5c14e5938df68d94bfac6b2f762fb922aa.1773136636.git.chleroy@kernel.org
arch/powerpc/include/asm/futex.h