mirror of https://github.com/mkerrisk/man-pages
membarrier.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8d23228ca6
commit
8fb5a3b5b2
|
@ -80,7 +80,7 @@ This command is always supported (on kernels where
|
|||
.BR membarrier ()
|
||||
is provided).
|
||||
.TP
|
||||
.B MEMBARRIER_CMD_GLOBAL " (since Linux 4.16)"
|
||||
.BR MEMBARRIER_CMD_GLOBAL " (since Linux 4.16)"
|
||||
Ensure that all threads from all processes on the system pass through a
|
||||
state where all memory accesses to user-space addresses match program
|
||||
order between entry to and return from the
|
||||
|
@ -88,7 +88,7 @@ order between entry to and return from the
|
|||
system call.
|
||||
All threads on the system are targeted by this command.
|
||||
.TP
|
||||
.B MEMBARRIER_CMD_GLOBAL_EXPEDITED " (since Linux 4.16)"
|
||||
.BR MEMBARRIER_CMD_GLOBAL_EXPEDITED " (since Linux 4.16)"
|
||||
Execute a memory barrier on all running threads of all processes which
|
||||
previously registered with
|
||||
.BR MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED .
|
||||
|
@ -106,12 +106,12 @@ from a non-registered process.
|
|||
The "expedited" commands complete faster than the non-expedited ones;
|
||||
they never block, but have the downside of causing extra overhead.
|
||||
.TP
|
||||
.B MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED " (since Linux 4.16)"
|
||||
.BR MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED " (since Linux 4.16)"
|
||||
Register the process intent to receive
|
||||
.BR MEMBARRIER_CMD_GLOBAL_EXPEDITED
|
||||
memory barriers.
|
||||
.TP
|
||||
.B MEMBARRIER_CMD_PRIVATE_EXPEDITED " (since Linux 4.14)"
|
||||
.BR MEMBARRIER_CMD_PRIVATE_EXPEDITED " (since Linux 4.14)"
|
||||
Execute a memory barrier on each running thread belonging to the same
|
||||
process as the current thread.
|
||||
Upon return from system call, the calling
|
||||
|
@ -126,11 +126,11 @@ they never block, but have the downside of causing extra overhead.
|
|||
A process needs to register its intent to use the private
|
||||
expedited command prior to using it.
|
||||
.TP
|
||||
.B MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED " (since Linux 4.14)"
|
||||
.BR MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED " (since Linux 4.14)"
|
||||
Register the process's intent to use
|
||||
.B MEMBARRIER_CMD_PRIVATE_EXPEDITED .
|
||||
.BR MEMBARRIER_CMD_PRIVATE_EXPEDITED .
|
||||
.TP
|
||||
.B MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE " (since Linux 4.16)"
|
||||
.BR MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE " (since Linux 4.16)"
|
||||
In addition to provide memory ordering guarantees described in
|
||||
.BR MEMBARRIER_CMD_PRIVATE_EXPEDITED ,
|
||||
ensure the caller thread, upon return from system call, that all its
|
||||
|
@ -141,7 +141,7 @@ they never block, but have the downside of causing extra overhead.
|
|||
A process needs to register its intent to use the private expedited sync
|
||||
core command prior to using it.
|
||||
.TP
|
||||
.B MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE " (since Linux 4.16)"
|
||||
.BR MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE " (since Linux 4.16)"
|
||||
Register the process intent to use
|
||||
.BR MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE .
|
||||
.TP
|
||||
|
@ -180,12 +180,12 @@ The pair ordering is detailed as (O: ordered, X: not ordered):
|
|||
On success, the
|
||||
.B MEMBARRIER_CMD_QUERY
|
||||
operation returns a bit mask of supported commands, and the
|
||||
.B MEMBARRIER_CMD_GLOBAL ,
|
||||
.B MEMBARRIER_CMD_GLOBAL_EXPEDITED ,
|
||||
.B MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED ,
|
||||
.B MEMBARRIER_CMD_PRIVATE_EXPEDITED ,
|
||||
.B MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED ,
|
||||
.B MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE ,
|
||||
.BR MEMBARRIER_CMD_GLOBAL ,
|
||||
.BR MEMBARRIER_CMD_GLOBAL_EXPEDITED ,
|
||||
.BR MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED ,
|
||||
.BR MEMBARRIER_CMD_PRIVATE_EXPEDITED ,
|
||||
.BR MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED ,
|
||||
.BR MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE ,
|
||||
and
|
||||
.B MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE
|
||||
operations return zero.
|
||||
|
|
Loading…
Reference in New Issue