diff options
author | Dominik Brodowski <[email protected]> | 2018-03-11 11:34:26 +0100 |
---|---|---|
committer | Dominik Brodowski <[email protected]> | 2018-04-02 20:15:02 +0200 |
commit | 2de0db992de189fccc83fed57c30875144821491 (patch) | |
tree | 138ea29f99e5e5ebb4c304da1961cdf0731a8b36 /lib/mpi/mpi-bit.c | |
parent | 6b27aef09fea32b805a8c81287b1bb80362dadb0 (diff) |
mm: use do_futex() instead of sys_futex() in mm_release()
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
This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/[email protected]
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Darren Hart <[email protected]>
Cc: Andrew Morton <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions