lkml.org 
[lkml]   [2010]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectWhere system interrupts get disabled at LAPIC timer handler execution?
Date
Dear all,

I am trying to demystify what happens when the kernel has configured to use
LAPIC timer as its timer and I've ran into some problems/questions.

AFAIK, when a LAPIC timer interrupt occurs, the assembly wrapper at
enrty_32.s jumps the execution at smp_apic_timer_interrupt(). At the
beginning of this function, I've checked to see if interrupts are enabled or
not using irqs_disabled() and I found out that they are disabled.

The problem is that I can't find where Linux disables interrupts before
calling smp_apic_timer_interrupt(). The only place this could be done is in
the assembly wrapper but I can't really find it.

Does the processor disables interrupts by default when a LAPIC timer
interrupt occurs?

Any help will be much appreciated.

Thanks in advance.

John.



\
 
 \ /
  Last update: 2010-07-16 11:35    [W:0.205 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site