While writing interrupt handlers (ISR), which are points needed to be considered?

Submitted by: Administrator
Avoid sleep , use GFP_ATOMIC instead of GFP_KERNEL in kmalloc
Submitted by: Administrator

1.Interrupt latency
2.Declare interrupt variable as volatile and declared as global variable bcz isr don't return any values .
3.we have to write less code in ISR routine
4.When isr rises the compiler will save register values and PC value into the stac
Submitted by: Someswara Rao Badana

Read Online Embedded System Job Interview Questions And Answers