Re: [RFC] change of calling conventions for arch_futex_atomic_op_inuser()

2019-10-16 Thread Thomas Gleixner
On Wed, 16 Oct 2019, Al Viro wrote: > On Tue, Oct 15, 2019 at 07:08:46PM +0100, Al Viro wrote: > > [futex folks and linux-arch Cc'd] > > > Another question: right now we have > > if (!access_ok(uaddr, sizeof(u32))) > > return -EFAULT; > > > > ret = arch_futex_atomi

[RFC] change of calling conventions for arch_futex_atomic_op_inuser()

2019-10-16 Thread Al Viro
On Tue, Oct 15, 2019 at 07:08:46PM +0100, Al Viro wrote: > [futex folks and linux-arch Cc'd] > Another question: right now we have > if (!access_ok(uaddr, sizeof(u32))) > return -EFAULT; > > ret = arch_futex_atomic_op_inuser(op, oparg, &oldval, uaddr); > if