Re: [RFC] New locking primitive for 2.5

Linus Torvalds
2002-02-09T17:47:48Z

On Fri, 8 Feb 2002, Benjamin Herrenschmidt wrote:
>
> At least PPC32 can't do that without a spinlock_irq

We don't need to be irq-safe for this, though. Just specify it to be
process safe - which means that on UP it boils down to at most maybe
having to protect against preemption.

Linus