Re: [PATCH v2 03/36] mm: use do_futex() instead of sys_futex() in mm_release()
From: Thomas Gleixner
Date: Fri Mar 16 2018 - 07:59:10 EST
On Thu, 15 Mar 2018, Dominik Brodowski wrote:
> sys_futex() is a wrapper to do_futex() which does not modify any
> values here:
>
> - uaddr, val and val3 are kept the same
>
> - op is masked with FUTEX_CMD_MASK, but is always set to FUTEX_WAKE.
> Therefore, val2 is always 0.
>
> - as utime is set to NULL, *timeout is NULL
>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Darren Hart <dvhart@xxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>