Re: [PATCH, take5] FUTEX : new PRIVATE futexes

Rusty Russell
2007-04-11T12:24:07Z

On Wed, 2007-04-11 at 11:19 +0200, Eric Dumazet wrote:
> Hi Andrew
>
> Update on this take5 :
>
> - Rebased on linux-2.6.21-rc6-mm1 + get_futex_key() must check proper alignement for 64bit futexes
> - compile test on x86_64 (one minor typo)

> - Added Rusty in CC since he may have to change drivers/lguest/io.c
> again, since get_futex_key() have yet another parameter (fshared). (I
> couldnt find this file in 2.6.21-rc6-mm1 tree)

That's fine. I just use the futex key lookup code to get a unique key
for shared memory between lguests (this is how lg.ko decides if they can
send DMA & interrupts to each other).

Looks like Andrew has already patched the lguest callers (I resubmitted
the moved lguest code just today).

Thanks!
Rusty.
PS. As original futex author, I could have been cc'd on these patches
anyway. But since the futex code has become unforgivably ugly (but, oh
so fast for pthreads), it's probably better not to see them 8)