Skip to contentSkip to conversation

About interrupt handler

DISCUSSION cheneydeng 2 participants 2 messages Feb 22, 2012 – Feb 23, 2012

lore
Share & tools
lore

cheneydeng

author
#0 lore raw

hi all,
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?

------------------
best regards?
cheneydeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120222/293902fd/attachment.html

#1 lore raw

-------- Original Message --------
From: cheneydeng
Sent: 2012?02?22? ??? 23?38?37?
To: kernelnewbies
Subject: About interrupt handler

Quoted 7 lines

hi all,
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 has more related to CPU architecture. Generally, while an interrupt handler is being executed, the handler itself can chose to disable or enable external interrupts (i.e, take x86 for example, IF bit for cflags reg controls this.). If IF is enabled, then the interrupt handler currently being executed may be interrupted and then jump to the entry for the coming interrupt.

Thanks,
-Zhengwang

Quoted 10 lines

------------------
best regards?
cheneydeng

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120223/ff4def83/attachment-0001.html