Re: 2.6.15-mm2

From: Ingo Molnar
Date: Tue Jan 10 2006 - 05:56:27 EST



an additional patch you could apply is the one below - but it doubt it
makes a difference.

Ingo

--
add might_sleep() to the mutex_lock slowpath.

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

----

kernel/mutex.c | 1 +
1 files changed, 1 insertion(+)

Index: linux/kernel/mutex.c
===================================================================
--- linux.orig/kernel/mutex.c
+++ linux/kernel/mutex.c
@@ -133,6 +133,7 @@ __mutex_lock_common(struct mutex *lock,
struct mutex_waiter waiter;
unsigned int old_val;

+ might_sleep();
debug_mutex_init_waiter(&waiter);

spin_lock_mutex(&lock->wait_lock);
-
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/