Re: [PATCH v4 1/4] man/man2/prctl.2, man/man2const/PR_FUTEX_HASH.2const: Document PR_FUTEX_HASH

Alejandro Colomar
2025-06-11T09:50:36Z

[-- Attachment #1: Type: text/plain, Size: 2110 bytes --]

Hi Sebastian,

On Wed, Jun 11, 2025 at 10:47:16AM +0200, Sebastian Andrzej Siewior wrote:
> On 2025-06-11 10:43:07 [+0200], Alejandro Colomar wrote:
> > Hi Sebastian,
> Hi,
>
> > On Mon, Jun 02, 2025 at 04:01:01PM +0200, Sebastian Andrzej Siewior wrote:
> > > The prctl(PR_FUTEX_HASH) is queued for the v6.16 merge window.
> > > Add some documentation of the interface.
> > >
> > > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> >
> > LGTM, thanks! Please let me know when this is merged into Linus's tree.
>
> This is in v6.16-rc1 since last Monday. We do regression handling now
> but I think it will stay. I can poke you once v6.16 is out in case we
> need a last minute revert of this.

Thanks!

I've applied patch 1/4, with the following amendments:

diff --git i/man/man2const/PR_FUTEX_HASH.2const w/man/man2const/PR_FUTEX_HASH.2const
index 08511b183..b500c943b 100644
--- i/man/man2const/PR_FUTEX_HASH.2const
+++ w/man/man2const/PR_FUTEX_HASH.2const
@@ -53,14 +53,16 @@ .SH DESCRIPTION
the kernel will allocate 16 hash slots
once the first thread has been created.
If the process continues to create threads,
-the kernel will try to resize the private hash based on the number of threads
+the kernel will try to resize the private hash
+based on the number of threads
and available CPUs in the system.
-The kernel will only increase the size and will make sure it does not exceed
-the size of the global hash.
+The kernel will only increase the size
+and will make sure
+it does not exceed the size of the global hash.
.P
-The user can configure the size of the private
-hash which will also disable the
-automatic resize provided by the kernel.
+The user can configure the size of the private hash
+which will also
+disable the automatic resize provided by the kernel.
.P
The value in
.I op

<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=243de1dbc9cf818fa71c97856cbaf88b9d255b44>

Cheers,
Alex

--
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]