在Linux内核源代码中的futex_wake_op function of futex.c中,我试图了解当在上述函数中,futex_atomic_op_inuser返回-EFAULT时,控件是如何到达但是从 of futex_atomic_op_inuser中,我看到它只在if (!access_ok(VERIFY_WRITE, uaddr, sizeof(int)))上返回-EFAULT。futex_atomic_op_inuser反过来调用一个__futex_atomic_op宏,
In file included from bench/futex-hash.c:17:0:bench/futex.h:36:10: error: ‘SYS_futex’ undeclared (first use in this function)
syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2,