[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070118073816.GA28486@elte.hu>
Date: Thu, 18 Jan 2007 08:38:16 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Daniel Walker <dwalker@...sta.com>
Cc: tglx@...utronix.de, khilman@...sta.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] futex null pointer timeout
* Daniel Walker <dwalker@...sta.com> wrote:
> This fix is mostly from Thomas ..
>
> The problem was that a futex can be called with a zero timeout (0
> seconds, 0 nanoseconds) and it's a valid expired timeout. However, the
> current futex in -rt assumes a zero timeout is an infinite timeout.
>
> Kevin Hilman found this using LTP's nptl01 test case which would soft
> hang occasionally.
>
> The patch reworks do_futex, and futex_wait* so a NULL pointer in the
> timeout position is infinite, and anything else is evaluated as a real
> timeout.
thanks, applied.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists