Re: spin_lock_irq vs. spin_lock_irqsave.

From: willy@thepuffingroup.com
Date: Sat Jun 17 2000 - 14:26:39 EST


On Sun, Jun 18, 2000 at 01:03:59AM +1000, Andrew Morton wrote:
> BTW: CPU flags should always be saved and restored in the same function
> - it's not correct to pass the flags to another function and allow that
> function to restore them. Breaks on SPARC, apparently. Does Rusty's
> doc cover this??

There's a chapter entitled `The Fucked Up Sparc'

http://www.samba.org/netfilter/unreliable-guides/kernel-locking/sparc.html

P.S. Rusty's rather ill right now, please send `get well soon' vibes in
his general direction. thanks.

-- 
The Sex Pistols were revolutionaries.  The Bay City Rollers weren't.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:14 EST