[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250829173928.K82VGvOw@linutronix.de>
Date: Fri, 29 Aug 2025 19:39:28 +0200
From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To: Carlos O'Donell <carlos@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-man@...r.kernel.org,
Alejandro Colomar <alx@...nel.org>,
André Almeida <andrealmeid@...lia.com>,
Darren Hart <dvhart@...radead.org>,
Davidlohr Bueso <dave@...olabs.net>, Ingo Molnar <mingo@...hat.com>,
Juri Lelli <juri.lelli@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Valentin Schneider <vschneid@...hat.com>,
Waiman Long <longman@...hat.com>
Subject: Re: [PATCH 3/4] man/man2/futex.2: Recycle two gmane URLs
On 2025-08-29 12:43:26 [-0400], Carlos O'Donell wrote:
> > index 69df4036ada7f..027e91b826bf1 100644
> > --- a/man/man2/futex.2
> > +++ b/man/man2/futex.2
> > @@ -6,10 +6,10 @@
> > .\"
> > .\" FIXME Still to integrate are some points from Torvald Riegel's mail of
> > .\" 2015-01-23:
> > -.\" http://thread.gmane.org/gmane.linux.kernel/1703405/focus=7977
> > +.\" https://lore.kernel.org/lkml/1422037788.29655.0.camel@triegel.csb
>
> Wrong link?
>
> Should be this link:
> https://lore.kernel.org/lkml/1422037145.27573.0.camel@triegel.csb/
>
> Where the discussion is about the unresolved constraint to guarantee FIFO order.
I thought it is the longer email, the second that day, where he made
three points. Didn't read it (yet)…
Now FIFO ordering you say. Is it glibc's side or kernel side? The kernel
sorts the futex waiters according their (task's) priority. It is not
FIFO unless the tasks are of equal priority.
So a futex requeue will take the task with the highest priority from
uaddr1 and move it to uaddr2.
Sebastian
Powered by blists - more mailing lists