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 |
Tell me how to create a child process in linux?
How do malloc and calloc work?
please send me the faq's in technical interviews on cand datastructures , unix(shell scripting).
Tell me can you have constant volatile variables?
What is the difference between locking and lockless (optimistic and pessimistic) concurrency models?
Explain the difference between "set" logic, and "procedural" logic.
How does the addition of service orientation change systems? When is it appropriate to use?
What's the difference between asynchrony and concurrency?
What is the difference between testing and verification?
What is equ?
Tell me why cannot arrays be passed by values to functions?
Can you name any code testing tools?