yushuailong opened a new pull request, #19563:
URL: https://github.com/apache/nuttx/pull/19563

   ## Summary
   
   The `to->preemp_start = current` assignment when `to->lockcount > 0` was 
executed twice under CONFIG_SCHED_CRITMONITOR_MAXTIME_PREEMPTION, once in the 
main preemption block and again after the csection block. Remove the redundant 
duplicate.
   
   ## Impact
   
   Only affects the scheduler critmon preemption time monitoring path, and is a 
redundant code cleanup with no behavioral change.
   
   ## Testing
   
   ci 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