Is the context below atomic in linux kernel?

255 views Asked by At
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.

0

There are 0 answers