lkml.org 
[lkml]   [2006]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] -mm: make debug_mutex_on __read_mostly
Hello all,

i386 run-tested on 2.6.17-rc4-mm3.

Signed-off-by: Andreas Mohr <andi@lisas.de>


diff -urN linux-2.6.17-rc4-mm3.orig/kernel/mutex-debug.c linux-2.6.17-rc4-mm3.my/kernel/mutex-debug.c
--- linux-2.6.17-rc4-mm3.orig/kernel/mutex-debug.c 2006-05-23 19:14:17.000000000 +0200
+++ linux-2.6.17-rc4-mm3/kernel/mutex-debug.c 2006-05-23 16:58:49.000000000 +0200
@@ -48,7 +48,7 @@
* into the tracing code when doing error printk or
* executing a BUG():
*/
-int debug_mutex_on = 1;
+int debug_mutex_on __read_mostly = 1;

static void printk_task(struct task_struct *p)
{
-
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-05-23 20:56    [W:0.024 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site