Re: [PATCH] RFC: futex: make futex_lock_pi interruptible

From: Arnd Bergmann
Date: Fri Oct 30 2009 - 13:40:24 EST


On Friday 30 October 2009 16:23:12 Darren Hart wrote:
> I don't quite follow. There will be a 1:many relationship between
> mutex:threads, but there should be a 1:1 relationship between
> threads:env. Since multiple threads can block on one mutex, the above
> struct wouldn't provide the necessary number of env to set the jmp point
> for each one.... am I misunderstanding your suggestion?
>

No, you are totally right with this. My suggestion would not work.

Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/