diff --git a/man2/membarrier.2 b/man2/membarrier.2 index 448cc648d..effd58190 100644 --- a/man2/membarrier.2 +++ b/man2/membarrier.2 @@ -75,8 +75,12 @@ argument is one of the following: Query the set of supported commands. The return value of the call is a bit mask of supported commands. -.RB ( MEMBARRIER_CMD_QUERY -is not itself included included in this bit mask.) +.BR MEMBARRIER_CMD_QUERY , +which has the value 0, +is not itself included in this bit mask. +This command is always supported (on kernels where +.BR membarrier () +is provided). .TP .B MEMBARRIER_CMD_SHARED Ensure that all threads from all processes on the system pass through a @@ -85,15 +89,6 @@ order between entry to and return from the .BR membarrier () system call. All threads on the system are targeted by this command. -.PP -The -.I cmd -argument expects a one-hot bit of a bit mask, except for the -.B MEMBARRIER_CMD_QUERY -command which has the value 0. -This query command is always supported, -even though it is not part of the bit mask. - .PP The .I flags