Thread (12 messages) 12 messages, 9 authors, 2017-03-09

Re: [PATCH 1/3] futex: remove duplicated code

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-03-04 12:50:39
Also in: linux-arch, linux-mips, linux-sh, linuxppc-dev, lkml, sparclinux

Jiri Slaby [off-list ref] writes:
There is code duplicated over all architecture's headers for
futex_atomic_op_inuser. Namely op decoding, access_ok check for uaddr,
and comparison of the result.

Remove this duplication and leave up to the arches only the needed
assembly which is now in arch_futex_atomic_op_inuser.
Looks OK and boots on powerpc. But I don't think anything's actually
calling those futex ops. Is there a test suite I should run?

Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help