Re: 2.6.14-rt21 & evolution

From: Dinakar Guniguntala
Date: Sun Dec 04 2005 - 09:39:01 EST


On Sat, Dec 03, 2005 at 03:48:16PM -0800, Fernando Lopez-Lezcano wrote:
>
> To tell the truth this does not seem like a -rt related problem except
> that it started happening the day I booted into -rt21.
>

Can you try this patch below. Ingo has already included it in his tree
and will probably show up in -rt22.

This was changed in -rt14 and returns spurious -ETIMEDOUT from
FUTEX_WAIT calls which I just checked that evo does a lot of

-Dinakar

Index: linux-2.6.14-rt21-rayrt4/kernel/futex.c
===================================================================
--- linux-2.6.14-rt21-rayrt4.orig/kernel/futex.c 2005-12-02 16:55:26.000000000 +0530
+++ linux-2.6.14-rt21-rayrt4/kernel/futex.c 2005-12-02 17:21:20.000000000 +0530
@@ -1527,7 +1527,7 @@
int val3)
{
struct timespec t;
- unsigned long timeout = 0;
+ unsigned long timeout = MAX_SCHEDULE_TIMEOUT;
int val2 = 0;

if ((op == FUTEX_WAIT || op == FUTEX_WAIT_ROBUST) && utime) {