lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 16 Jul 2010 10:25:32 +0100
From:	"limp" <johnkyr83@...mail.com>
To:	<linux-kernel@...r.kernel.org>
Subject: Where system interrupts get disabled at LAPIC timer handler execution?

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.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ