Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). spin lock irqsave() critical sections do not exclude the scheduler, so a task holding a spinlock can be preempted (spinlock failures and deadlocks when sem post() occurs inside a spinlock section)
The task
spin_lock_irqsave() critical sections do not exclude the scheduler, so a task holding a spinlock can be preempted (spinlock failures and deadlocks when sem_post() occurs inside a spinlock section)
Part of henryen/OriGent-RL-Data.