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

Answer Posted / jay

Avoid sleep , use GFP_ATOMIC instead of GFP_KERNEL in kmalloc

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does malloc do? What will happen if we have a statement like malloc(sizeof(0));

522


Tell me what does dma address will deal with?

455


Please explain what is interrupt latency? How can you reduce it?

448


Tell me what could be the reasons for a system to have gone blank and how would you debug it?

454


What is dma in an embedded system?

450






How does combination of functions reduce memory reuirement in embedded system?

443


Why is it better to use multi-threading polling then single threading model?

500


What is the need for an infinite loop in embedded systems?

458


What are hard and soft real time systems?

490


What is the difference between hard real-time and soft real-time os?

432


What are real-time embedded systems?

456


Tell me is count down_to_zero loop better than count_up_loops?

444


Tell me what are the uses of the keyword volatile?

465


What is meant by a sandbox.

444


Explain how to reduce interrupt latency?

474