lkml.org 
[lkml]   [2005]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: start_kernel / local_irq_enable() can be very slow


On Sun, 13 Nov 2005, Andrew Morton wrote:
>
> You could do something like:
>
> int trace_irqs;
>
> trace_irqs = 1;
> local_irq_enble();
> trace_irqs = 0;

Do "trace_irqs = 10" first.

> then, over in handle_IRQ_event():
>
> if (trace_irqs)
> print_symbol("calling %s\n", (unsigned long)action->handler);

And decrement it here somewhere.

If it's delayed by up to three seconds, it sounds like there's a _lot_ of
interrupts happening, and I don't think there's any point in showing all
of them.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.354 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site