zhangyu-duck opened a new pull request, #17905:
URL: https://github.com/apache/nuttx/pull/17905

   Summary
   Optimize tricore arch task switching process, now most other archs have 
already implemented task switching optimizations, such as:
   
   Directly using tcb->xcp.regs instead of up_current_regs to determine whether 
to switch tasks.
   
   Removing interfaces like up_set_current_regs/up_current_regs.
   
   Inlining up_switch_context, etc.
   
   For ARM implementation references:
   
   03af486
   
   4972a8e
   
   Impact
   The logic during doirq.c and svcall.c for determining whether a task needs 
to be switched has changed;
   The interrupt flag interface has changed.
   
   Testing
   Run ostest multiple times and observe whether the task switch is normal.
   
   The main test items in ostest:
   task create/exit/restart.
   semaphore wait/post test
   message queue test
   signal process test
   wdog test
   ...


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to