Re: [PATCH 2.6.20-rc4 3/4] futex_requeue_pi optimization

From: Pierre Peiffer
Date: Wed Jan 10 2007 - 03:19:17 EST


Ulrich Drepper wrote :

So, this patch implements requeuing from a non-PI futex to a PI futex?

Yes.

That's the bare minimum needed. What about PI to PI?

I may miss something, but I don't think there is a need for that.

Currently, futex_requeue is (only) used in pthread_cond_broadcast to requeue some threads from an internal futex (futex1) to another futex (futex2, which is the futex behind the cond_mutex)

futex1 does not need to be a PI-futex, I think.

--
Pierre
-
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/