Re: About interrupt handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]






-------- Original Message --------
From: cheneydeng
Sent: 2012年02月22日 星期三 23时38分37秒
To: kernelnewbies
Subject: About interrupt handler
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



------------------
best regards!
  cheneydeng
 
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux