Re: [PATCH 0/2] futex: Docs and tests for robust futex unlock race

From: Thomas Gleixner

Date: Thu Mar 26 2026 - 12:44:01 EST


Andre!

On Thu, Mar 26 2026 at 11:31, André Almeida wrote:
> I have created two patches to be added to our series, please have a look. The
> first one is a note for the robust list docs about the need to use a
> vDSO/syscall to avoid the race condition (this should be added to the man page
> in the future). The second one adds the new syscalls to the robust list
> selftests, testing all available combinations.

Very appreciated. I'll pick them up for the V3 posting I'm working on.

> Ideally I would like to inject some error to the vDSO test, so we can really
> test the mechanism of it being interrupted and the kernel cleaning the
> list_op_pending, using ASM injection or ptrace(), but I have left for a next
> patch for now.

Please sync with Sebastian. He wanted to look into this ptrace thing
too.

Thanks,

tglx