Re: [PATCH RT] fix faulting bomb in futex_unlock_pi64

From: Ulrich Drepper
Date: Thu May 31 2007 - 13:20:26 EST


On 5/30/07, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
But, the -rt kernel has pretty much the same code for the
futex_unlock_pi64, and it has the same bug.

Why would you use futex_unlock_pi64?

In fact, the whole 64-bit futex patch should be reviewed and cut down
to the bare minimum. I know, I was asking for it loudly but it became
to Jakub and me after adding the private futexes that all these
orthogonal extensions don't make sense. So far we need 64-bit futexes
only for some rwlocks and here only a few operations (wait, wake). We
don't need 64-bit extended to PI, we don't need requeue.

Yes, if we had started out with 64-bit futexes on 64-bit platforms,
that would be fine. But as it is today making 64-bit a new dimension
is not needed.
-
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/