Re: 2.6.4 on Alpha uninterruptible sleep of processes

From: Ivan Kokshaysky
Date: Fri Mar 12 2004 - 10:29:06 EST


On Fri, Mar 12, 2004 at 03:46:13PM +0100, Marc Giger wrote:
> After some time, new started processes are in a uninterruptible
> sleep state. It seems every process that opens a file hangs.
> E.g. I can't tail -f /var/log/messages

My fault. There was a typo in the semaphore patch.
Does this work for you?

Ivan.

--- 2.6.4/arch/alpha/kernel/semaphore.c Thu Mar 11 05:55:27 2004
+++ linux/arch/alpha/kernel/semaphore.c Fri Mar 12 18:17:24 2004
@@ -29,7 +29,7 @@ static inline int __sem_update_count(str

__asm__ __volatile__(
"1: ldl_l %0,%2\n"
- " cmovgt %0,%0,%1\n"
+ " cmovgt %0,0,%1\n"
" addl %1,%3,%1\n"
" stl_c %1,%2\n"
" beq %1,2f\n"
-
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/