2007-12-12 17:35:03

by Daniel Walker

[permalink] [raw]
Subject: [PATCH -rt] Add wakeup timing to expose /proc/preempt_max_latency

Fix my original mistake of using CONFIG_CRITICAL_TIMING , which only
covers preempt and irqs-off timing.. Convert to CONFIG_LATENCY_TIMING,
so wakeup timing also has these.

Signed-Off-By: Daniel Walker <[email protected]>

---
kernel/sysctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.23/kernel/sysctl.c
===================================================================
--- linux-2.6.23.orig/kernel/sysctl.c
+++ linux-2.6.23/kernel/sysctl.c
@@ -414,7 +414,7 @@ static struct ctl_table kern_table[] = {
.proc_handler = &proc_dointvec,
},
#endif
-#if defined(CONFIG_CRITICAL_TIMING)
+#if defined(CONFIG_LATENCY_TIMING)
{
.ctl_name = CTL_UNNUMBERED,
.procname = "preempt_max_latency",
--

--