Re: [PATCH 2] Little fixes to previous futex patch

From: Ingo Molnar
Date: Mon Sep 08 2003 - 04:59:20 EST



On Mon, 8 Sep 2003, Jamie Lokier wrote:

> Why do you say the order doesn't matter? If you change the order in
> FUTEX_WAIT & FUTEX_WAKE, then "fair" operations aren't fair any more.

hm, indeed, the ordering of wake-one/wake-few wakeups would be impacted.

> Is there a reason why FUTEX_REQUEUE is exempt from this?

no, you are right - FIFO queueing must be preserved there too.

Ingo

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