Thread (7 messages) 7 messages, 3 authors, 2012-02-26

About interrupt handler

From: Dave Hylands <hidden>
Date: 2012-02-24 21:08:52

Hi Kosta,

On Fri, Feb 24, 2012 at 1:19 AM, Kosta Zertsekel [off-list ref] wrote:
quoted
quoted
I'm begin to learn the Kernel and i'm reading <<Linux kernel
development>>.It says "This is an important point, always keep in mind that
all interrupt handler has interrupted other code(possibly even another
interrupt handler on a different line)".What i am not able to understand is
how a interrupt handler be interrupted ? DID NOT it uninterrupted?
It depends on the architecture and the interrupt controller being
used, and the driver code itself.

Normally, when an interrupt fires, that particular interrupt will be
masked and your own handler won't interrupt itself, but you may very
well be interrupted by other interrupts.
Can you please point out some code for explanation?
Could you be a bit more specific about what example you're looking for?

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help