[PATCH] -mm: make rt_trace_on __read_mostly

From: Andreas Mohr
Date: Tue May 23 2006 - 14:53:11 EST


Hello all,

i386 run-tested on 2.6.17-rc4-mm3.

Signed-off-by: Andreas Mohr <andi@xxxxxxxx>


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

void deadlock_trace_off(void)
{
-
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/