Re: [PATCH 1/8] Fix FUTEX_WAKE_OP compare function mask

2016-08-29 Thread Dmitry V. Levin
On Mon, Aug 29, 2016 at 05:39:00PM +, Eugene Syromyatnikov wrote: > On Mon, Aug 29, 2016 at 5:21 PM, Dmitry V. Levin wrote: > > futex_atomic_op_inuser > Can you please refer to the specific file where it is used for cmp > operation? I've checked include/asm-generic/futex.h and > arch/x86/inclu

Re: [PATCH 1/8] Fix FUTEX_WAKE_OP compare function mask

2016-08-29 Thread Eugene Syromyatnikov
On Mon, Aug 29, 2016 at 5:21 PM, Dmitry V. Levin wrote: > futex_atomic_op_inuser Can you please refer to the specific file where it is used for cmp operation? I've checked include/asm-generic/futex.h and arch/x86/include/asm/futex.h and haven't found any notion of usage of this flag for cmp operat

Re: [PATCH 1/8] Fix FUTEX_WAKE_OP compare function mask

2016-08-29 Thread Dmitry V. Levin
On Mon, Aug 29, 2016 at 06:10:44PM +0300, Eugene Syromyatnikov wrote: > * futex.c (SYS_FUNC(futex)) : compare function does not > have FUTEX_OP_OPARG_SHIFT flag and occupies 4 bits from bit 24 to bit > 27, as per both initial and current (v4.7) kernel implementations, so > bring futex parser

[PATCH 1/8] Fix FUTEX_WAKE_OP compare function mask

2016-08-29 Thread Eugene Syromyatnikov
* futex.c (SYS_FUNC(futex)) : compare function does not have FUTEX_OP_OPARG_SHIFT flag and occupies 4 bits from bit 24 to bit 27, as per both initial and current (v4.7) kernel implementations, so bring futex parser in accordance with this. --- futex.c |4 +--- 1 file changed, 1 insertion