Re: [patch] latency tracer, 2.6.15-rc7

From: Ingo Molnar
Date: Fri Dec 30 2005 - 03:00:53 EST



* Lee Revell <rlrevell@xxxxxxxxxxx> wrote:

> It seems that debug_smp_processor_id is being called a lot, even
> though I have a UP config, which I didn't see with the -rt kernel:

do you have CONFIG_DEBUG_PREEMPT enabled? (if yes then disable it)

> Was this optimized out on UP before?

no, because smp_processor_id() debugging is useful on UP too: it checks
whether smp_processor_id() is every called with preemption enabled, and
reports such bugs.

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/