While writing interrupt handlers (ISR), which are points
needed to be considered ?
Answers were Sorted based on User's Feedback
Answer / jay
Avoid sleep , use GFP_ATOMIC instead of GFP_KERNEL in kmalloc
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / rajesh
While writing ISR it is necessary to remember which routine is having high priority
Initialize the stack pointer
Is This Answer Correct ? | 10 Yes | 2 No |
Answer / baazicha
- Do not issue blocking calls
- Defer as much processing to second level interrupt
handler or BH.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shawn bai
not take too long,actually calling dpc
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / dinesh
while writing ISR you should have proper knowledge about
it......... - by chandu
Is This Answer Correct ? | 1 Yes | 4 No |
Why is model transformations used in the embedded system?
DMA deals with which address (physical/virtual addresses) ?
Why do we need virtual device drivers when we have physical device drivers?
Do you know what is the use of volatile keyword?
Explain me can we use printf inside isr?
What is dma in an embedded system?
Can structures be passed to the functions by value?
Suppose you buy some rtos, what are the features you look for in?
Explain the difference between risc and cisc processor?
Tell me why does pre-emptive multi-threading used to solve the central controller problem?
What is the repository pattern? The factory pattern? Why are patterns important?
What is interrupt latency? How can you reduce it?