Re: futex+io_uring: futex_q::task can maybe be dangling (but is not actually accessed, so it's fine)

From: Jens Axboe
Date: Wed Jan 15 2025 - 12:07:49 EST


On 1/15/25 10:05 AM, Thomas Gleixner wrote:
> On Wed, Jan 15 2025 at 08:32, Jens Axboe wrote:
>> Here's the raw patch. Should've done this initially rather than just
>> tackle __futex_queue(), for some reason I thought/assumed that
>> futex_queue() was more widely used.
>
> 'git grep' is pretty useful to validate such assumptions :)

It would not be a good assumption if it was backed by fact checking ;-)

>> What do you think?
>
> Looks about right.

OK thanks, fwiw I did send it out as a proper patch as well.

--
Jens Axboe