[patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.5.2

From: Ingo Molnar
Date: Thu Oct 28 2004 - 08:59:33 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> (right now it's not possible to do wakeup-timing without
> LATENCY_TRACE, i'll fix that.)

i've fixed this in -RT-V0.5.2. Also, the trace_enabled=4 method is
deprecated now and the new mechanism is to use:

/proc/sys/kernel/preempt_wakeup_timing

this flag is default-enabled. So starting at -RT-V0.5.2 to activate
wakeup timing it's enough to enable PREEMPT_TIMING and reset the max
after bootup:

echo 0 > /proc/sys/kernel/preempt_max_latency

this will switch back to critical-section timing/tracing:

echo 0 > /proc/sys/kernel/preempt_wakeup_timing

Ingo
-
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/