patacongo opened a new issue #1133:
URL: https://github.com/apache/incubator-nuttx/issues/1133


   I suspect that the current interrupt performance could be improved for 
handling back-to-back interrupts.  The current interrupt handling sequence is 
like:
   
   1. Save register state on input
   2. Instantiate interrupt stack
   3. Save register state in protect register
   4. Call arm_doirq() (for ARMv7-M)
   5. if register state has changed, perform context switch
   6. Return from interrupt using selected register state
   
   I think if we added a loop in this, we could improve interrupt handling in 
certain cases.  Like:
   
   1. Save register state on input
   2. Instantiate interrupt stack
   3. Save register state in protect register
   4. Call arm_doirq() (for ARMv7-M)
   5. _If another interrupt is pending, goto 4_
   6. if register state has changed, perform context switch
   7. Return from interrupt using selected register state


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to