Search Results

Search found 1 results on 1 pages for 'cojocar'.

Page 1/1 | 1 

  • spin_lock_irqsave vs spin_lock_irq

    - by cojocar
    On a SMP machine we must use spin_lock_irqsave and not spin_lock_irq from interrupt context. Why would we want to save the flags (which contains the IF)? Is there another interrupt routine that could interrupt us? The flags are per CPU?

    Read the article

1