I try to summarize where each lock is used so we can decide if it is ok to revert some of them to spin_lock again. This should also resolve a request I got from Andrew some time ago.
Hi Sven
Thanks for this.
[...]
So it is complete correct to use irqsave everywhere (as you have commited it now).
This also means we don't need to worry about the order we take spinlocks in resulting in deadlocks. Since we disable interrupts, it is not possible for some other thread to be holding a lock we need.
Andrew