spin_lock_irqsave(...);
spin_unlock(...);
/* context */
spin_lock(...);
spin_unlock_irqrestore(...);
Is the context mentioned in above example atomic ? Here, we are just disabling the interrupts not preemption I guess.
spin_lock_irqsave(...);
spin_unlock(...);
/* context */
spin_lock(...);
spin_unlock_irqrestore(...);
Is the context mentioned in above example atomic ? Here, we are just disabling the interrupts not preemption I guess.