[parisc-linux] Anyone got a few moments?

Alan Cox alan@lxorguk.ukuu.org.uk
Mon, 28 Jun 1999 19:39:42 +0100 (BST)


> Yes.  Major pain since the only useful atomic operations are load & clear
> word/double as you noted.
> 
> Why does linux want an "exchange"-like API for atomic operations?  That
> just seems totally weird and stupid.

Its very very efficient if you have an exchange operation or you have
ll/sc. Most platforms Linux runs on have these.

Alan