Hacker News new | ask | show | jobs
by afr0ck 1149 days ago
You don't have to disable IRQs if the spinlock is never taken by an interrupt handler. Disabling preemption would be enough in such a case, and that reduces latency issues related to disabling IRQs.