lkml.org 
[lkml]   [2006]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.15-mm2

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@elte.hu>

----
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-01-10 12:00    [from the cache]
©2003-2011 Jasper Spaans