> This non-reentrant stuff hurts my head. Another patch down the
> toilet, I guess.
No, I think you have a good idea. Pete is right, though, the current
interrupt is disabled... but normally the other interrupts are still
enabled.
Your ideas #2, #3, and #4 are good.
Because once the lock is tainted, you still want to ensure process
context disables interrupts before grabbing the lock.
Robert Love
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/