Skip to contentSkip to conversation

Add wakeup timing to expose /proc/preempt_max_latency

PATCH New Daniel Walker 1 participant 1 message Dec 12, 2007 Proc sysctl

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 kernel/sysctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sysctl.c +1 -1
Index: 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",
Signature · 1 line
--