Age | Commit message (Collapse) | Author |
|
|
|
Flags in Linux and L4 are a per-processor thing. In userland, that simply maps
to a per-thread thing. Using a lock instead introduces deadlocks.
|
|
Some functions such as blk_plug_device checks whether irqs are disabled.
So I need to fake irq diable in spin_lock_irq and spin_lock_irqsave.
|
|
|
|
In order to avoid dead lock caused by spin_lock_irq or
spin_lock_irqsave, I remove irq disabling in them. It's really
unnecessary to do spin_lock_irq and spin_lock_irqsave any more because
interrupt isn't handled in a real interrupt context.
|
|
|