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

   ## Summary
   
   1. sched/spin_lock: rename raw_spin_* to spin_*_notrace
   
   raw_spin in the Linux kernel means disable the preemption before
   holding the spin lock, not disable trace. Rename raw_spin to
   spin_*_notrace to make the interface more semantically consistent.
   
   
   2. sched/spinlock: add a new set of interfaces to disable preemption
   
   ```
   spin_lock                ->      spin_lock_nopreempt
   spin_trylock             ->      spin_trylock_nopreempt
   spin_unlock              ->      spin_unlock_nopreempt
   spin_lock_irqsave        ->      spin_lock_irqsave_nopreempt
   spin_trylock_irqsave     ->      spin_trylock_irqsave_nopreempt
   spin_unlock_irqrestore   ->      spin_unlock_irqrestore_nopreempt
   ```
   
   Signed-off-by: chao an <anchao.arc...@bytedance.com>
   
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   ci-check


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to