Re: [PATCH 4/4] man/man2/futex.2: Add a pointer to Linux' memory-barrier

From: G. Branden Robinson
Date: Sat Aug 30 2025 - 03:34:00 EST


Hi Sebastian,

At 2025-08-29T18:02:00+0200, Sebastian Andrzej Siewior wrote:
> diff --git a/man/man2/futex.2 b/man/man2/futex.2
> index 027e91b826bf1..fe4a239c3812c 100644
> --- a/man/man2/futex.2
> +++ b/man/man2/futex.2
> @@ -84,16 +84,14 @@ on the same futex word.
> .\" would be sufficient? Or perhaps for this manual, "serialized" would
> .\" be sufficient, with a footnote regarding "totally ordered" and a
> .\" pointer to the memory-barrier documentation?
> +Please see
> +.IR https://docs.kernel.org/\:next/\:core-api/\:wrappers/\:memory-barriers.html
> +for the definition of atomic operations and memory ordering.
> Thus, the futex word is used to connect the synchronization in user space
> with the implementation of blocking by the kernel.
> Analogously to an atomic

(not a gating/blocking suggestion)

As with my previous comment, you might make the new text a hyperlink.

+See the
+.UR https://docs.kernel.org/\:next/\:core-api/\:wrappers/\:memory-barriers.html
+Linux kernel's guide to atomic operations and memory ordering
+.UE .

Regards,
Branden

Attachment: signature.asc
Description: PGP signature